Skip to content

Commit

Permalink
fix(emote-popup): ignore null gemometry
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Dec 2, 2024
1 parent a0324f2 commit 17d4e06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/widgets/dialogs/EmotePopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17d4e06

Please sign in to comment.