Fix emote popup remember last position by moving setStayInScreenRect into EmotePopup constructor (#1752)
This commit is contained in:
@@ -114,6 +114,7 @@ namespace {
|
||||
EmotePopup::EmotePopup(QWidget *parent)
|
||||
: BasePopup(BaseWindow::EnableCustomFrame, parent)
|
||||
{
|
||||
this->setStayInScreenRect(true);
|
||||
this->moveTo(this, getApp()->windows->emotePopupPos(), false);
|
||||
|
||||
auto layout = new QVBoxLayout(this);
|
||||
|
||||
Reference in New Issue
Block a user