From 661c1d3042f59eb2f20e281f2b367b7a14edee6c Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 17 May 2015 18:50:25 +0300 Subject: [PATCH] Don't clean a layout if an error has occured. --HG-- branch : develop --- src/app/mainwindowsnogui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/mainwindowsnogui.cpp b/src/app/mainwindowsnogui.cpp index f59c1fb1b..73773298a 100644 --- a/src/app/mainwindowsnogui.cpp +++ b/src/app/mainwindowsnogui.cpp @@ -114,7 +114,6 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked) case LayoutErrors::PrepareLayoutError: case LayoutErrors::PaperSizeError: case LayoutErrors::EmptyPaperError: - ClearLayout(); break; default: break;