mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Fix stats window geometry saving on shutdown
Possible fix for: https://obsproject.com/mantis/view.php?id=923 If you close whole application (not just stats window) it skips the close event and thus saving of the geometry. The Qt::WA_DeleteOnClose was set earlier. Closes jp9000/obs-studio#984
This commit is contained in:
parent
abc9b94621
commit
77ddce3f9a
|
@ -2943,7 +2943,7 @@ void OBSBasic::CloseDialogs()
|
|||
projector.clear();
|
||||
}
|
||||
|
||||
delete stats;
|
||||
if (!stats.isNull()) stats->close(); //call close to save Stats geometry
|
||||
}
|
||||
|
||||
void OBSBasic::EnumDialogs()
|
||||
|
|
Loading…
Reference in a new issue