summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4ba5e6ad..1d737541 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1519,6 +1519,7 @@ void MainWindow::startExeAction()
return;
}
+ action->setEnabled(false);
const Executable& exe = *itor;
auto& profile = *m_OrganizerCore.currentProfile();
@@ -1537,6 +1538,8 @@ void MainWindow::startExeAction()
exe.steamAppID(),
customOverwrite,
forcedLibraries);
+ action->setEnabled(true);
+
}