mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix typo.
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.
(cherry picked from commit 74607702a5
)
This commit is contained in:
parent
8d3cda0445
commit
2b927cbc2e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user