Prevent completion dialog from being cut off if window not maximized

This commit is contained in:
j-howell 2014-10-22 12:21:46 -04:00
parent 5674dd141e
commit 678531097b

View File

@ -273,10 +273,10 @@ class ProceedQuestion(QWidget):
def position_widget(self):
geom = self.parent().geometry()
x = geom.right() - self.width()
x = geom.width() - self.width()
sb = self.parent().statusBar()
if sb is None:
y = geom.bottom() - self.height()
y = geom.height() - self.height()
else:
y = sb.geometry().top() - self.height()
self.move(x, y)