From 8ac0519a9954b58f43bc42dd70c5643169543999 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 22 Jul 2021 12:18:45 -0700 Subject: desktop: explicitly enable shortcuts The changes in commit 4daf687876 ("profile: remove [disable|enable]Shortcuts() signals") resulted in us no longer enabling the shortcuts on the desktop (at least on macOS where I debugged this). This placement of the call feels like a bit of overkill, but at least it shouldn't be wrong. Fixes #3293 Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 35140ffbf..d5fa59235 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -374,6 +374,7 @@ void MainWindow::enableDisableCloudActions() void MainWindow::enableDisableOtherDCsActions() { bool nr = number_of_computers(current_dive) > 1; + enableShortcuts(); ui.actionNextDC->setEnabled(nr); ui.actionPreviousDC->setEnabled(nr); } -- cgit v1.2.3-70-g09d2