From ea6307996bcc5089850316fd2758af492957e00a Mon Sep 17 00:00:00 2001 From: Sofian Audry Date: Thu, 2 Jan 2020 15:00:25 -0600 Subject: [PATCH] In handler of paint changed event, use getPaintIcon() instead of getIcon() to make sure the icon corresponds to the visibility status of paint. --- src/gui/MainWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index 954df6f..cb9ec69 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -240,7 +240,7 @@ void MainWindow::handlePaintChanged(Paint::ptr paint) { QSharedPointer