From 4b859a897efbe26dca0c1cf5e9a00b8ae5fedfb8 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 8 May 2018 11:40:21 +0300 Subject: [PATCH] If a user made a layout, returned to drawing, made some changes and returned to layout again, Valentina will open the Layout settings dialog automatically. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index a82181fe6..3892d0fd8 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -2732,7 +2732,7 @@ void MainWindow::ActionLayout(bool checked) ShowPaper(ui->listWidget->currentRow()); - if (scenes.isEmpty()) + if (scenes.isEmpty() || isLayoutStale) { ui->toolButtonLayoutSettings->click(); }