Skip to content

Commit

Permalink
Merge pull request #2301 from SylvainCorlay/run_selection
Browse files Browse the repository at this point in the history
Editor: "Run selection" was not enabled with an empty selection
  • Loading branch information
ccordoba12 committed Apr 5, 2015
2 parents 0df9bb6 + a0f3a0c commit 39c5cb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spyderlib/widgets/sourcecode/codeeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2559,7 +2559,6 @@ def contextMenuEvent(self, event):
nbformat is not None)
self.ipynb_convert_action.setVisible(self.is_json() and \
nbformat is not None)
self.run_selection_action.setEnabled(nonempty_selection)
self.run_selection_action.setVisible(self.is_python())
self.gotodef_action.setVisible(self.go_to_definition_enabled \
and self.is_python_like())
Expand Down

0 comments on commit 39c5cb2

Please sign in to comment.