mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Show wait cursor while cleaning up scene data
This commit is contained in:
parent
447b8786ef
commit
c87a81ba56
|
@ -4529,6 +4529,8 @@ void OBSBasic::ClearSceneData()
|
|||
{
|
||||
disableSaving++;
|
||||
|
||||
setCursor(Qt::WaitCursor);
|
||||
|
||||
CloseDialogs();
|
||||
|
||||
ClearVolumeControls();
|
||||
|
@ -4573,6 +4575,8 @@ void OBSBasic::ClearSceneData()
|
|||
QApplication::sendPostedEvents(nullptr);
|
||||
} while (obs_wait_for_destroy_queue());
|
||||
|
||||
unsetCursor();
|
||||
|
||||
disableSaving--;
|
||||
|
||||
blog(LOG_INFO, "All scene data cleared");
|
||||
|
|
Loading…
Reference in a new issue