Valentina overrided export file even if user said no.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-06-27 16:09:16 +03:00
parent 5e286725c9
commit 575e99ee21

View File

@ -436,6 +436,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