diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-06-19 16:43:31 +0200 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-06-19 16:43:31 +0200 |
| commit | 45ddf061c4a84db6a1b1e1c413cefc925185a08c (patch) | |
| tree | 4e9b83a4b6a77d165afa242ade3dcabe6568b1ad /src | |
| parent | 6cef9e5a7efc12e0686188b91da6a12595c92a80 (diff) | |
Disabled toolbar executable shortcut action after click to avoid starting it twice with a doubleclick.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
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); + } |
