fix: don't try to save emote popup bounds when we're quitting (#6292)
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
- Dev: Added a `run-and-kill.sh` script to help debug crash-on-exit bugs. (#6188)
|
||||
- Dev: Refactored the `TimeoutStackStyle` enum into its own file. (#6216)
|
||||
- Dev: Refactored `Notebook`-related enums into their own file. (#6220)
|
||||
- Dev: Don't try to save emote popup bounds if we're quitting. (#6292)
|
||||
- Dev: Implemented customizable display names for enums. (#6238)
|
||||
- Dev: Refactored event API initialization away from Application and into TwitchIrcServer. (#6198)
|
||||
- Dev: Updated GoogleTest to v1.17.0. (#6180)
|
||||
|
||||
@@ -644,6 +644,11 @@ void EmotePopup::filterEmotes(const QString &searchText)
|
||||
|
||||
void EmotePopup::saveBounds() const
|
||||
{
|
||||
if (isAppAboutToQuit())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
auto bounds = this->getBounds();
|
||||
if (!bounds.isNull())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user