Test for MacOSX for wizard buttons

This commit is contained in:
Ken Roberts 2014-10-09 15:12:08 -07:00
parent 66a674c8de
commit c0169bb762
1 changed files with 10 additions and 9 deletions

View File

@ -221,6 +221,7 @@ class ConnectBase(QtGui.QWizardPage):
Set buttons for bottom of page.
"""
QtGui.QWizardPage.setVisible(self, visible)
if not is_macosx():
if visible:
try:
self.myCustomButton()