Skip to content

Commit

Permalink
Merge pull request #4044 from mariacamilaremolinagutierrez/fixes_issu…
Browse files Browse the repository at this point in the history
…e_4020

PR: Add "run selection" icon to run toolbar
  • Loading branch information
ccordoba12 authored Jan 25, 2017
2 parents 1f946ac + 2af78a2 commit a33f965
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyder/plugins/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def get_plugin_actions(self):
triggered=self.run_selection,
context=Qt.WidgetShortcut)
self.register_shortcut(run_selected_action, context="Editor",
name="Run selection")
name="Run selection", add_sc_to_tip=True)

run_cell_action = create_action(self,
_("Run cell"),
Expand Down Expand Up @@ -1051,8 +1051,8 @@ def get_plugin_actions(self):
configure_action, MENU_SEPARATOR]
self.main.run_menu_actions += run_menu_actions
run_toolbar_actions = [run_action, run_cell_action,
run_cell_advance_action, re_run_action,
configure_action]
run_cell_advance_action, run_selected_action,
re_run_action]
self.main.run_toolbar_actions += run_toolbar_actions

# ---- Debug menu/toolbar construction ----
Expand Down

0 comments on commit a33f965

Please sign in to comment.