Ver Fonte

UI: Unblock encoder comboboxes signals before change

Signals are blocked while encoder is enforced, those need to be
unblocked before setting the new encoder.
tytan652 há 3 anos atrás
pai
commit
10880d6b21
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      UI/window-basic-settings-stream.cpp

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

@@ -1481,6 +1481,7 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
 		}
 
 		idx = ui->advOutEncoder->findData(lastAdvEnc);
+		s2.unblock();
 		ui->advOutEncoder->setCurrentIndex(idx);
 	}
 
@@ -1494,6 +1495,7 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
 		}
 
 		idx = ui->simpleOutStrEncoder->findData(lastEnc);
+		s1.unblock();
 		ui->simpleOutStrEncoder->setCurrentIndex(idx);
 	}
 }