|
|
|
@ -2391,8 +2391,8 @@ def show_question(parent, text, informative_text = None, cursor_pos = False,
|
|
|
|
|
if cursor_pos:
|
|
|
|
|
msgBox.move(qt.QCursor.pos())
|
|
|
|
|
else:
|
|
|
|
|
msgBox.move(parent.frameGeometry().x()+parent.size().width()/2 - 150,\
|
|
|
|
|
parent.frameGeometry().y() + parent.size().height()/2 - 100)
|
|
|
|
|
msgBox.move(int(parent.frameGeometry().x()+parent.size().width()/2 - 150),\
|
|
|
|
|
int(parent.frameGeometry().y() + parent.size().height()/2 - 100))
|
|
|
|
|
|
|
|
|
|
reply = msgBox.exec_()
|
|
|
|
|
return reply
|
|
|
|
|