From 4ff9d2f5e4efca15c5086eb0f101ebdfcab8269f Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 11 Dec 2018 19:50:21 -0800 Subject: [PATCH] pcbnew: Update Alt Delete Name/hint Simply calling it Alternative Delete was hiding its behavior. This gives a descriptive tooltip and command name allowing users to more easily find the equivalent to the "Ripup" command --- fp-info-cache | 1 + pcbnew/hotkeys.cpp | 2 +- pcbnew/tools/edit_tool.cpp | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 fp-info-cache diff --git a/fp-info-cache b/fp-info-cache new file mode 100644 index 0000000000..573541ac97 --- /dev/null +++ b/fp-info-cache @@ -0,0 +1 @@ +0 diff --git a/pcbnew/hotkeys.cpp b/pcbnew/hotkeys.cpp index afb10aebb4..5c78b4180a 100644 --- a/pcbnew/hotkeys.cpp +++ b/pcbnew/hotkeys.cpp @@ -145,7 +145,7 @@ static EDA_HOTKEY HkCopyItem( _HKI( "Copy Item" ), HK_COPY_ITEM, 'C' ); static EDA_HOTKEY HkDragFootprint( _HKI( "Drag Item" ), HK_DRAG_ITEM, 'G' ); static EDA_HOTKEY HkGetAndMoveFootprint( _HKI( "Get and Move Footprint" ), HK_GET_AND_MOVE_FOOTPRINT, 'T' ); static EDA_HOTKEY HkLock_Unlock_Footprint( _HKI( "Lock/Unlock Footprint" ), HK_LOCK_UNLOCK_FOOTPRINT, 'L' ); -static EDA_HOTKEY HkDelete( _HKI( "Delete Track or Footprint" ), HK_DELETE, WXK_DELETE ); +static EDA_HOTKEY HkDelete( _HKI( "Delete Full Track" ), HK_DELETE, WXK_DELETE ); static EDA_HOTKEY HkResetLocalCoord( _HKI( "Reset Local Coordinates" ), HK_RESET_LOCAL_COORD, ' ' ); static EDA_HOTKEY HkSwitchHighContrastMode( _HKI( "Toggle High Contrast Mode" ), HK_SWITCH_HIGHCONTRAST_MODE,'H'); diff --git a/pcbnew/tools/edit_tool.cpp b/pcbnew/tools/edit_tool.cpp index 23d9c8ff98..12fb28cbc1 100644 --- a/pcbnew/tools/edit_tool.cpp +++ b/pcbnew/tools/edit_tool.cpp @@ -129,8 +129,8 @@ TOOL_ACTION PCB_ACTIONS::remove( "pcbnew.InteractiveEdit.remove", TOOL_ACTION PCB_ACTIONS::removeAlt( "pcbnew.InteractiveEdit.removeAlt", AS_GLOBAL, TOOL_ACTION::LegacyHotKey( HK_DELETE ), - _( "Delete (Alternative)" ), _( "Deletes selected item(s)" ), delete_xpm, - AF_NONE, (void*) REMOVE_FLAGS::ALT ); + _( "Delete Full Track" ), _( "Deletes selected item(s) and copper connections" ), + delete_xpm, AF_NONE, (void*) REMOVE_FLAGS::ALT ); TOOL_ACTION PCB_ACTIONS::updateFootprints( "pcbnew.InteractiveEdit.updateFootprints", AS_GLOBAL, 0,