Browse Source

UI: Don't clear lastService immediately after setting it

Fixes a bug where when you clicked "Show more..." in the service
settings combobox, the currently selected service would be changed to
the first service in the list.
gxalpha 2 years ago
parent
commit
633b9e39f7
1 changed files with 0 additions and 1 deletions
  1. 0 1
      UI/window-basic-settings-stream.cpp

+ 0 - 1
UI/window-basic-settings-stream.cpp

@@ -185,7 +185,6 @@ void OBSBasicSettings::LoadStream1Settings()
 	else
 	else
 		ui->key->setText(key);
 		ui->key->setText(key);
 
 
-	lastService.clear();
 	ServiceChanged();
 	ServiceChanged();
 
 
 	UpdateKeyLink();
 	UpdateKeyLink();