From 17764ee0ecb13bce2218f96163d72dcfa04dbe2b Mon Sep 17 00:00:00 2001
From: Owen <owenca@users.noreply.github.com>
Date: Tue, 1 Aug 2017 02:38:29 +0000
Subject: [PATCH] Let ALT+Up and ALT+W keys through for file panels.
Fixes #11979
---
src/kits/tracker/ContainerWindow.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/kits/tracker/ContainerWindow.cpp b/src/kits/tracker/ContainerWindow.cpp
index a95d9d9..b356a8a 100644
a
|
b
|
BContainerWindow::SetCloseItem(BMenu* menu)
|
1822 | 1822 | { |
1823 | 1823 | BMenuItem* item; |
1824 | 1824 | if ((item = menu->FindItem(B_QUIT_REQUESTED)) == NULL |
1825 | | && (item = menu->FindItem(kCloseAllWindows)) == NULL) { |
| 1825 | && (item = menu->FindItem(kCloseAllWindows)) == NULL |
| 1826 | && !fPoseView->IsFilePanel()) { |
1826 | 1827 | return; |
1827 | 1828 | } |
1828 | 1829 | |
… |
… |
BContainerWindow::ShowNavigator(bool show)
|
4146 | 4147 | void |
4147 | 4148 | BContainerWindow::SetSingleWindowBrowseShortcuts(bool enabled) |
4148 | 4149 | { |
4149 | | if (PoseView()->IsDesktopWindow()) |
| 4150 | if (PoseView()->IsDesktopWindow() || fPoseView->IsFilePanel()) |
4150 | 4151 | return; |
4151 | 4152 | |
4152 | 4153 | if (enabled) { |