diff --git a/pym/consolegui/application/more.py b/pym/consolegui/application/more.py index 15bf8b4..e4d9f7d 100644 --- a/pym/consolegui/application/more.py +++ b/pym/consolegui/application/more.py @@ -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