Skip to content

Commit

Permalink
[console] Move run button earlier in console editor toolbar
Browse files Browse the repository at this point in the history
Otherwise on small screens the run button is hidden away in the
overflow menu, which isn't ideal given its importance
  • Loading branch information
nyalldawson committed Oct 11, 2015
1 parent cf0fe9a commit 9287ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/console/console.py
Expand Up @@ -413,6 +413,8 @@ def __init__(self, parent=None):
self.toolBarEditor.addAction(self.saveFileButton)
self.toolBarEditor.addAction(self.saveAsFileButton)
self.toolBarEditor.addSeparator()
self.toolBarEditor.addAction(self.runScriptEditorButton)
self.toolBarEditor.addSeparator()
self.toolBarEditor.addAction(self.findTextButton)
self.toolBarEditor.addSeparator()
self.toolBarEditor.addAction(self.cutEditorButton)
Expand All @@ -423,8 +425,6 @@ def __init__(self, parent=None):
self.toolBarEditor.addAction(self.uncommentEditorButton)
self.toolBarEditor.addSeparator()
self.toolBarEditor.addAction(self.objectListButton)
self.toolBarEditor.addSeparator()
self.toolBarEditor.addAction(self.runScriptEditorButton)

## Menu Import Class
self.classMenu = QMenu()
Expand Down

0 comments on commit 9287ee7

Please sign in to comment.