From 92e3c4a45c267715d81e782c57b0139743f21e26 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Sat, 11 Jun 2016 11:49:55 -0400 Subject: [PATCH] Fix missing zoom-to-selection hotkey branch in pl_editor --- pagelayout_editor/hotkeys.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pagelayout_editor/hotkeys.cpp b/pagelayout_editor/hotkeys.cpp index d9ab9086ce..adf4e5dc1a 100644 --- a/pagelayout_editor/hotkeys.cpp +++ b/pagelayout_editor/hotkeys.cpp @@ -213,6 +213,11 @@ bool PL_EDITOR_FRAME::OnHotKey( wxDC* aDC, int aHotkeyCode, GetEventHandler()->ProcessEvent( cmd ); break; + case HK_ZOOM_SELECTION: + cmd.SetId( ID_ZOOM_SELECTION ); + GetEventHandler()->ProcessEvent( cmd ); + break; + case HK_RESET_LOCAL_COORD: // Reset the relative coord GetScreen()->m_O_Curseur = GetCrossHairPosition(); break;