Do bounds-checking on more windows (#4797)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -87,8 +87,7 @@ void WindowManager::showAccountSelectPopup(QPoint point)
|
||||
|
||||
w->refresh();
|
||||
|
||||
QPoint buttonPos = point;
|
||||
w->move(buttonPos.x() - 30, buttonPos.y());
|
||||
w->moveTo(point - QPoint(30, 0), widgets::BoundsChecking::CursorPosition);
|
||||
w->show();
|
||||
w->setFocus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user