From c749ffc47155ea9cb5cf18a0ad5a0b5adc8b19a1 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Sun, 24 May 2015 05:14:40 -0500 Subject: [PATCH] Don't cycle to project window when using Alt+F6 and Alt+Shift+F6 --- src/Menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/Menus.cpp diff --git a/src/Menus.cpp b/src/Menus.cpp old mode 100644 new mode 100755 index ce2333aef..9223133bf --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -2802,7 +2802,7 @@ void AudacityProject::NextWindow() } // Ran out of siblings, so make the current project active - if (!iter) + if (!iter && IsEnabled()) { w = this; } @@ -2851,7 +2851,7 @@ void AudacityProject::PrevWindow() } // Ran out of siblings, so make the current project active - if (!iter) + if (!iter && IsEnabled()) { w = this; }