Skip to content
Permalink
Browse files

[Python Console] Don't set custom background for editor toolbar

  • Loading branch information
NathanW2 committed Oct 2, 2014
1 parent 5b7f8cb commit 4d30e054476ab1a6aa4af9b1bf1bf247cb48a6cb
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/console/console.py
@@ -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)

0 comments on commit 4d30e05

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