aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-10 13:53:06 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-10 19:59:27 -0700
commitdd94831d90ae0c2ef4364ad2be4b6e3e8eda8bb7 (patch)
tree49b718ce6d346f3072cb2e0957cc3b6a200f745a
parent503a150af0c8662ed2b16a276b4ec26887af5288 (diff)
downloadsubsurface-dd94831d90ae0c2ef4364ad2be4b6e3e8eda8bb7.tar.gz
Correctly sets the 'enabled' flag on the picture button
Forgot to add this one, oops. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
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)