mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
UI: Show wait cursor while cleaning up scene data
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user