This commit is contained in:
Kovid Goyal 2014-10-23 08:13:49 +05:30
commit 22281d6e6c

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)