Skip to content

Commit c34cf06

Browse files
committed
question dialog bugfix
1 parent 9359300 commit c34cf06

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

NodeGraphQt/widgets/dialogs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ def question_dialog(text, title):
6464
dlg.setStandardButtons(
6565
QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No
6666
)
67-
dlg.exec_()
68-
return bool(dlg == QtWidgets.QMessageBox.Yes)
67+
result = dlg.exec_()
68+
return bool(result == QtWidgets.QMessageBox.Yes)

NodeGraphQt/widgets/stylesheet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,7 @@
195195
'''
196196

197197
STYLE_MESSAGEBOX = '''
198-
QLabel{
199-
min-width:500 px;
198+
QLabel{
200199
font-size: 18px;
201200
background-color: transparent;
202201
color: rgb(200 ,200, 200);

0 commit comments

Comments
 (0)