summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-02-02 14:26:24 +0100
committerTannin <devnull@localhost>2014-02-02 14:26:24 +0100
commit7722a9b6df0d9172256bae2b393d28347543ecda (patch)
tree05176c7c161231be22f943e88e809d2db89618b0 /src/mainwindow.cpp
parent48704877ca1dc44b9215ec834e93f34fd953b2fb (diff)
- main window is now actually disabled while integrated boss is running
- bugfix: integrated boss sorting couldn't recognize plugins specified via regular expression
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 88806cfd..90eb6bce 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5146,6 +5146,8 @@ void MainWindow::on_showHiddenBox_toggled(bool checked)
void MainWindow::on_bossButton_clicked()
{
try {
+ this->setEnabled(false);
+ ON_BLOCK_EXIT([&] () { this->setEnabled(true); });
LockedDialog dialog(this, tr("BOSS working"), false);
dialog.show();
qApp->processEvents();