This commit is contained in:
Kovid Goyal 2011-04-17 11:26:47 -06:00
parent 0f3f855da7
commit 0655424f16

View File

@ -318,6 +318,7 @@ class BaseToolBar(QToolBar): # {{{
style = self.get_text_style()
self.setToolButtonStyle(style)
if hasattr(self, 'd_widget'):
if hasattr(self.d_widget, 'filler'):
self.d_widget.filler.setVisible(style != Qt.ToolButtonIconOnly)
def get_text_style(self):