Procházet zdrojové kódy

UI: Add missing Auth::Load() when duplicating/creating profile

derrod před 4 roky
rodič
revize
698ed54870
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      UI/window-basic-main-profiles.cpp

+ 2 - 0
UI/window-basic-main-profiles.cpp

@@ -306,6 +306,8 @@ bool OBSBasic::CreateProfile(const std::string &newName, bool create_new,
 	config_save_safe(App()->GlobalConfig(), "tmp", nullptr);
 	UpdateTitleBar();
 
+	Auth::Load();
+
 	// Run auto configuration setup wizard when a new profile is made to assist
 	// setting up blank settings
 	if (create_new && showWizardChecked) {