From 17222e26804a4b10de3576335fc479b04a182fed Mon Sep 17 00:00:00 2001 From: Ingo Date: Thu, 27 Feb 2014 15:51:27 +0100 Subject: [PATCH] Remove WB from File Browser, Issue 2229 --- rtgui/toolbar.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rtgui/toolbar.cc b/rtgui/toolbar.cc index c90677dcd..0d73a2579 100644 --- a/rtgui/toolbar.cc +++ b/rtgui/toolbar.cc @@ -207,8 +207,11 @@ bool ToolBar::handleShortcutKey (GdkEventKey* event) { switch(event->keyval) { case GDK_w: case GDK_W: - wb_pressed (); - return true; + if(wbTool){ + wb_pressed (); + return true; + } + return false; case GDK_c: case GDK_C: crop_pressed ();