summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 822f1bc7f..d03d0dc83 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -544,6 +544,7 @@ void ProfileWidget2::setEmptyState()
dataModel->clear();
currentState = EMPTY;
+ MainWindow::instance()->setToolButtonsEnabled(false);
backgroundFile = QString(":poster");
fixBackgroundPos();
@@ -577,6 +578,7 @@ void ProfileWidget2::setProfileState()
return;
currentState = PROFILE;
+ MainWindow::instance()->setToolButtonsEnabled(true);
toolTipItem->readPos();
setBackgroundBrush(getColor(::BACKGROUND));