fix(emote-popup): ignore null gemometry (#5751)
This commit is contained in:
@@ -639,7 +639,11 @@ void EmotePopup::filterEmotes(const QString &searchText)
|
||||
|
||||
void EmotePopup::saveBounds() const
|
||||
{
|
||||
getApp()->getWindows()->setEmotePopupBounds(this->getBounds());
|
||||
auto bounds = this->getBounds();
|
||||
if (!bounds.isNull())
|
||||
{
|
||||
getApp()->getWindows()->setEmotePopupBounds(bounds);
|
||||
}
|
||||
}
|
||||
|
||||
void EmotePopup::resizeEvent(QResizeEvent *event)
|
||||
|
||||
Reference in New Issue
Block a user