BIM: fix invalid converesion of button to int
This commit is contained in:
committed by
Yorik van Havre
parent
941656bcd3
commit
80805910a6
@@ -536,7 +536,7 @@ class BIM_Library_TaskPanel:
|
||||
|
||||
from PySide import QtGui
|
||||
|
||||
return int(QtGui.QDialogButtonBox.Close)
|
||||
return QtGui.QDialogButtonBox.Close
|
||||
|
||||
def reject(self):
|
||||
|
||||
|
||||
@@ -158,7 +158,7 @@ class BIM_Preflight_TaskPanel:
|
||||
def getStandardButtons(self):
|
||||
from PySide import QtCore, QtGui
|
||||
|
||||
return int(QtGui.QDialogButtonBox.Close)
|
||||
return QtGui.QDialogButtonBox.Close
|
||||
|
||||
def reject(self):
|
||||
from PySide import QtCore, QtGui
|
||||
|
||||
@@ -71,7 +71,7 @@ class BIM_Windows_TaskPanel:
|
||||
def getStandardButtons(self):
|
||||
from PySide import QtGui
|
||||
|
||||
return int(QtGui.QDialogButtonBox.Close)
|
||||
return QtGui.QDialogButtonBox.Close
|
||||
|
||||
def reject(self):
|
||||
FreeCADGui.Control.closeDialog()
|
||||
|
||||
Reference in New Issue
Block a user