From 575e99ee213ce84d3b8fe74e4d610d5f62188a70 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 27 Jun 2017 16:09:16 +0300 Subject: [PATCH] Valentina overrided export file even if user said no. --HG-- branch : feature --- src/app/valentina/dialogs/dialogsavelayout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/valentina/dialogs/dialogsavelayout.cpp b/src/app/valentina/dialogs/dialogsavelayout.cpp index 05325526e..6f280c01e 100644 --- a/src/app/valentina/dialogs/dialogsavelayout.cpp +++ b/src/app/valentina/dialogs/dialogsavelayout.cpp @@ -436,6 +436,7 @@ void DialogSaveLayout::Save() .arg(name), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes); if (res == QMessageBox::No) { + reject(); return; } else