Skip to content
Permalink
Browse files

[console] Move run button earlier in console editor toolbar

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 9287ee7d400d3d8234797692c793e50e0f84ae96
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/console/console.py
@@ -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)
@@ -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()

0 comments on commit 9287ee7

Please sign in to comment.
You can’t perform that action at this time.