forked from j62/ctbrec
1
0
Fork 0

Refresh model online state before switching resolutions

This commit is contained in:
0xboobface 2019-06-11 19:59:11 +02:00
parent 367bec664c
commit 798f950a95
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ public class RecordedModelsTab extends Tab implements TabSelectionListener {
private void switchStreamSource(JavaFxModel fxModel) {
try {
if (!fxModel.isOnline()) {
if (!fxModel.isOnline(true)) {
Alert alert = new AutosizeAlert(Alert.AlertType.INFORMATION, getTabPane().getScene());
alert.setTitle("Switch resolution");
alert.setHeaderText("Couldn't switch stream resolution");