diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-11-26 08:50:21 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-11-26 08:50:21 +0000 |
| commit | 073642c6b3197a3f66fec06b04bfd5ef1dbbf42b (patch) | |
| tree | 4b6fa45724b51fe93fc5ee85537499e2e7db9100 /src/actions | |
| parent | Add additional build dependencies (diff) | |
| download | inkscape-073642c6b3197a3f66fec06b04bfd5ef1dbbf42b.tar.gz inkscape-073642c6b3197a3f66fec06b04bfd5ef1dbbf42b.zip | |
Add "select" action for backwards compatibility. Fix typo for "select-via-class".
Diffstat (limited to 'src/actions')
| -rw-r--r-- | src/actions/actions-selection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/actions-selection.cpp b/src/actions/actions-selection.cpp index cafa904cc..9a0429400 100644 --- a/src/actions/actions-selection.cpp +++ b/src/actions/actions-selection.cpp @@ -103,8 +103,9 @@ void add_actions_selection(InkscapeApplication* app) { app->add_action( "select-clear", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_clear), app) ); + app->add_action_radio_string( "select", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_id), app), "null"); // Backwards compatible. app->add_action_radio_string( "select-via-id", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_id), app), "null"); - app->add_action_radio_string( "select-via-class", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_id), app), "null"); + app->add_action_radio_string( "select-via-class", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_class), app), "null"); app->add_action_radio_string( "select-via-element", sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_element), app), "null"); app->add_action_radio_string( "select-via-selector",sigc::bind<InkscapeApplication*>(sigc::ptr_fun(&select_via_selector), app), "null"); } |
