Rename legacy selection filter action to avoid confusion

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7290
This commit is contained in:
Jon Evans 2021-01-26 18:15:29 -05:00
parent aefc107d86
commit 79f94c096e
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@
<property name="size">-1,-1</property> <property name="size">-1,-1</property>
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property> <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property> <property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
<property name="title">Filter Selection</property> <property name="title">Filter Selected Items</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>

View File

@ -54,7 +54,7 @@ class DIALOG_FILTER_SELECTION_BASE : public DIALOG_SHIM
public: public:
DIALOG_FILTER_SELECTION_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Filter Selection"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); DIALOG_FILTER_SELECTION_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Filter Selected Items"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~DIALOG_FILTER_SELECTION_BASE(); ~DIALOG_FILTER_SELECTION_BASE();
}; };

View File

@ -1195,7 +1195,7 @@ TOOL_ACTION PCB_ACTIONS::selectSameSheet( "pcbnew.InteractiveSelection.SelectSam
TOOL_ACTION PCB_ACTIONS::filterSelection( "pcbnew.InteractiveSelection.FilterSelection", TOOL_ACTION PCB_ACTIONS::filterSelection( "pcbnew.InteractiveSelection.FilterSelection",
AS_GLOBAL, 0, "", AS_GLOBAL, 0, "",
_( "Filter Selection..." ), _( "Filter the types of items in the selection" ), _( "Filter Selected Items..." ), _( "Remove items from the selection by type" ),
filter_xpm ); filter_xpm );