Skip to content

Commit

Permalink
[Python Console] Don't set custom background for editor toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Oct 2, 2014
1 parent 5b7f8cb commit 4d30e05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/console/console.py
Expand Up @@ -382,8 +382,8 @@ def __init__(self, parent=None):
bordercl = ['155', '155', '155']

self.toolBarEditor = QToolBar()
self.toolBarEditor.setStyleSheet('QToolBar{background-color: rgb(%s, %s, %s' % tuple(bkgrcolor) + ');\
border-right: 1px solid rgb(%s, %s, %s' % tuple(bordercl) + ');}')
# self.toolBarEditor.setStyleSheet('QToolBar{background-color: rgb(%s, %s, %s' % tuple(bkgrcolor) + ');\
# border-right: 1px solid rgb(%s, %s, %s' % tuple(bordercl) + ');}')
self.toolBarEditor.setEnabled(False)
self.toolBarEditor.setFocusPolicy(Qt.NoFocus)
self.toolBarEditor.setContextMenuPolicy(Qt.DefaultContextMenu)
Expand Down

0 comments on commit 4d30e05

Please sign in to comment.