From dd94831d90ae0c2ef4364ad2be4b6e3e8eda8bb7 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 10 Jul 2014 13:53:06 -0300 Subject: Correctly sets the 'enabled' flag on the picture button Forgot to add this one, oops. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/mainwindow.cpp') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index bb5e2a458..1db36e246 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -241,6 +241,7 @@ void MainWindow::setToolButtonsEnabled(bool enabled) ui.profRuler->setEnabled(enabled); ui.profScaled->setEnabled(enabled); ui.profHR->setEnabled(enabled); + ui.profTogglePicture->setEnabled(enabled); } bool MainWindow::okToClose(QString message) -- cgit v1.2.3-70-g09d2