Don't clean a layout if an error has occured.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-17 18:50:25 +03:00
parent 7392e8e914
commit 661c1d3042

View File

@ -114,7 +114,6 @@ void MainWindowsNoGUI::ToolLayoutSettings(bool checked)
case LayoutErrors::PrepareLayoutError:
case LayoutErrors::PaperSizeError:
case LayoutErrors::EmptyPaperError:
ClearLayout();
break;
default:
break;