Fix bug. Valentina overrids exported file even if a user said no.
(grafted from cebb2be5d991225d9689a43e44c7764c31d708ff) --HG-- branch : develop
This commit is contained in:
parent
02f79ee87f
commit
9c14f46a26
|
@ -25,6 +25,7 @@
|
||||||
- [#703] Valentina warns about format rewriting for unsaved files.
|
- [#703] Valentina warns about format rewriting for unsaved files.
|
||||||
- [#704] Valentina crashes if click on detail.
|
- [#704] Valentina crashes if click on detail.
|
||||||
- [#706] Default unit in preferences not changing new file unit.
|
- [#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
|
# Version 0.5.0 May 9, 2017
|
||||||
- [#581] User can now filter input lists by keyword in function wizard.
|
- [#581] User can now filter input lists by keyword in function wizard.
|
||||||
|
|
|
@ -220,6 +220,7 @@ void DialogSaveLayout::Save()
|
||||||
.arg(name), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes);
|
.arg(name), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes);
|
||||||
if (res == QMessageBox::No)
|
if (res == QMessageBox::No)
|
||||||
{
|
{
|
||||||
|
reject();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user