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 --- CHANGELOG.md | 1 + desktop-widgets/mainwindow.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ba284890..b5a5c3ead 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +- fix broken curser left/right shortcut for showing multiple dive computers --- * Always add new entries at the very top of this file above other existing entries and this note. 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