UI: Update volume controls decay rate on profile switch
Without this change the decay rate would only be updated when an audio source is added or when the volume meter itself is changed (e.g. from horizontal to vertical layout).
This commit is contained in:
parent
332c1b4176
commit
1b57419670
1 changed files with 3 additions and 0 deletions
|
|
@ -338,6 +338,7 @@ bool OBSBasic::CreateProfile(const std::string &newName, bool create_new,
|
|||
|
||||
config_save_safe(App()->GlobalConfig(), "tmp", nullptr);
|
||||
UpdateTitleBar();
|
||||
UpdateVolumeControlsDecayRate();
|
||||
|
||||
Auth::Load();
|
||||
|
||||
|
|
@ -614,6 +615,7 @@ void OBSBasic::on_actionRemoveProfile_triggered(bool skipConfirmation)
|
|||
blog(LOG_INFO, "------------------------------------------------");
|
||||
|
||||
UpdateTitleBar();
|
||||
UpdateVolumeControlsDecayRate();
|
||||
|
||||
Auth::Load();
|
||||
|
||||
|
|
@ -785,6 +787,7 @@ void OBSBasic::ChangeProfile()
|
|||
RefreshProfiles();
|
||||
config_save_safe(App()->GlobalConfig(), "tmp", nullptr);
|
||||
UpdateTitleBar();
|
||||
UpdateVolumeControlsDecayRate();
|
||||
|
||||
Auth::Load();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue