Jelajahi Sumber

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 tahun lalu
induk
melakukan
633b9e39f7
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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
 		ui->key->setText(key);
 
-	lastService.clear();
 	ServiceChanged();
 
 	UpdateKeyLink();