]> git.lyx.org Git - features.git/commitdiff
Fix typo.
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 20 Dec 2017 11:17:04 +0000 (12:17 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 20 Dec 2017 11:17:04 +0000 (12:17 +0100)
This had the effect that for file dialogs supposed to use two buttons,
only the second one was displayed, while file dialogs supposed to use
one button did not have a button at all.

Candidate for 2.3.x and 2.2.x.

src/frontends/qt4/GuiPrefs.cpp

index 1474cb37f922fe5c0b8c803e531043e429fde131..e93c6b7171bbe4c8e95a4d840f4258500c4632a9 100644 (file)
@@ -112,7 +112,7 @@ QString browseFile(QString const & filename,
                lastPath = fallback_dir;
 
        FileDialog dlg(title);
-       dlg.setButton2(label1, dir1);
+       dlg.setButton1(label1, dir1);
        dlg.setButton2(label2, dir2);
 
        FileDialog::Result result;