Fix tab text on mac

This commit is contained in:
Ken Roberts 2014-10-20 16:25:27 -07:00
parent 16f4fcbce3
commit 8bb9510622

View File

@ -203,7 +203,10 @@ class SourceSelectTabs(QDialog):
self.setModal(True) self.setModal(True)
self.layout = QVBoxLayout() self.layout = QVBoxLayout()
self.layout.setObjectName('source_select_tabs_layout') self.layout.setObjectName('source_select_tabs_layout')
self.tabwidget = FingerTabWidget(self) if is_macosx():
self.tabwidget = QTabWidget(self)
else:
self.tabwidget = FingerTabWidget(self)
self.tabwidget.setObjectName('source_select_tabs_tabwidget') self.tabwidget.setObjectName('source_select_tabs_tabwidget')
self.tabwidget.setUsesScrollButtons(False) self.tabwidget.setUsesScrollButtons(False)
if is_macosx(): if is_macosx():