BIM: fix invalid converesion of button to int

This commit is contained in:
Jiří Pinkava
2024-09-03 14:30:43 +02:00
committed by Yorik van Havre
parent 941656bcd3
commit 80805910a6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -536,7 +536,7 @@ class BIM_Library_TaskPanel:
from PySide import QtGui
return int(QtGui.QDialogButtonBox.Close)
return QtGui.QDialogButtonBox.Close
def reject(self):
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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()