From 45ddf061c4a84db6a1b1e1c413cefc925185a08c Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 19 Jun 2019 16:43:31 +0200 Subject: Disabled toolbar executable shortcut action after click to avoid starting it twice with a doubleclick. --- src/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainwindow.cpp') 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); + } -- cgit v1.3.1