Loading pcbnew/pcbframe.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -695,6 +695,8 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable ) } else { m_toolManager->ResetTools( TOOL_BASE::GAL_SWITCH ); // Redirect all events to the legacy canvas GetGalCanvas()->SetEventDispatcher( NULL ); } Loading pcbnew/tools/common_actions.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -41,9 +41,12 @@ TOOL_ACTION COMMON_ACTIONS::selectionClear( "pcbnew.InteractiveSelection.Clear", "", "" ); // No description, it is not supposed to be shown anywhere TOOL_ACTION COMMON_ACTIONS::find( "pcbnew.InteractiveSelection.Find", AS_GLOBAL, 0, AS_GLOBAL, 0, // it is handled by wxWidgets hotkey system "Find an item", "Searches the document for an item" ); TOOL_ACTION COMMON_ACTIONS::findDummy( "pcbnew.Find.Dummy", // only block the hotkey AS_GLOBAL, MD_CTRL + int( 'F' ) ); TOOL_ACTION COMMON_ACTIONS::findMove( "pcbnew.InteractiveSelection.FindMove", AS_GLOBAL, 'T'); Loading pcbnew/tools/common_actions.h +2 −0 Original line number Diff line number Diff line Loading @@ -223,6 +223,8 @@ public: /// Find an item and start moving static TOOL_ACTION findMove; /// Blocks CTRL+F, it is handled by wxWidgets static TOOL_ACTION findDummy; /** * Function TranslateLegacyId() * Translates legacy tool ids to the corresponding TOOL_ACTION name. Loading Loading
pcbnew/pcbframe.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -695,6 +695,8 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable ) } else { m_toolManager->ResetTools( TOOL_BASE::GAL_SWITCH ); // Redirect all events to the legacy canvas GetGalCanvas()->SetEventDispatcher( NULL ); } Loading
pcbnew/tools/common_actions.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -41,9 +41,12 @@ TOOL_ACTION COMMON_ACTIONS::selectionClear( "pcbnew.InteractiveSelection.Clear", "", "" ); // No description, it is not supposed to be shown anywhere TOOL_ACTION COMMON_ACTIONS::find( "pcbnew.InteractiveSelection.Find", AS_GLOBAL, 0, AS_GLOBAL, 0, // it is handled by wxWidgets hotkey system "Find an item", "Searches the document for an item" ); TOOL_ACTION COMMON_ACTIONS::findDummy( "pcbnew.Find.Dummy", // only block the hotkey AS_GLOBAL, MD_CTRL + int( 'F' ) ); TOOL_ACTION COMMON_ACTIONS::findMove( "pcbnew.InteractiveSelection.FindMove", AS_GLOBAL, 'T'); Loading
pcbnew/tools/common_actions.h +2 −0 Original line number Diff line number Diff line Loading @@ -223,6 +223,8 @@ public: /// Find an item and start moving static TOOL_ACTION findMove; /// Blocks CTRL+F, it is handled by wxWidgets static TOOL_ACTION findDummy; /** * Function TranslateLegacyId() * Translates legacy tool ids to the corresponding TOOL_ACTION name. Loading