Fix bug. Valentina overrids exported file even if a user said no.

(grafted from cebb2be5d991225d9689a43e44c7764c31d708ff)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-06-27 16:09:16 +03:00
parent 02f79ee87f
commit 9c14f46a26
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@
- [#703] Valentina warns about format rewriting for unsaved files.
- [#704] Valentina crashes if click on detail.
- [#706] Default unit in preferences not changing new file unit.
- Fix bug. Valentina overrids exported file even if a user said no.
# Version 0.5.0 May 9, 2017
- [#581] User can now filter input lists by keyword in function wizard.

View File

@ -220,6 +220,7 @@ void DialogSaveLayout::Save()
.arg(name), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes);
if (res == QMessageBox::No)
{
reject();
return;
}
else