]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPreferences.C
Applied John's FileDialog patch.
[lyx.git] / src / frontends / xforms / FormPreferences.C
index 783abb3498462754ddba9ca2c1ec6a5f4fc4c225..dbeaae8e332507962d215b7106664703e6c5c1c9 100644 (file)
@@ -2931,7 +2931,7 @@ void FormPreferences::browse(FL_OBJECT * inpt,
 
        // Show the file browser dialog
        string const new_filename =
-               browseFile(filename, title, pattern, dir1, dir2);
+               browseFile(lv_, filename, title, pattern, dir1, dir2);
 
        // Save the filename to the dialog
        if (new_filename != filename && !new_filename.empty()) {