mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Fix confirm overwrite asked twice, from Bernhard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16907 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f1168b16fc
commit
94408c72a7
@ -91,6 +91,7 @@ FileDialog::Result const FileDialog::save(docstring const & path,
|
||||
LyXFileDialog dlg(title_, path, filters, private_->b1, private_->b2);
|
||||
dlg.setFileMode(QFileDialog::AnyFile);
|
||||
dlg.setAcceptMode(QFileDialog::AcceptSave);
|
||||
dlg.setConfirmOverwrite(false);
|
||||
|
||||
if (!suggested.empty())
|
||||
dlg.selectFile(toqstr(suggested));
|
||||
|
Loading…
Reference in New Issue
Block a user