Skip to content

Commit

Permalink
Fix unsynced serial rate setting when using "Enable Serial" button
Browse files Browse the repository at this point in the history
  • Loading branch information
Koromix committed Dec 2, 2019
1 parent e95d98f commit 8baf512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tycommander/main_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,6 @@ void MainWindow::refreshInterfaces()
interfaceTree->addTopLevelItem(item);
}

rateComboBox->setEnabled(current_board_->serialIsSerial());
ambiguousBoardLabel->setVisible(!current_board_->hasCapability(TY_BOARD_CAPABILITY_UNIQUE));
}

Expand All @@ -1001,6 +1000,8 @@ void MainWindow::refreshStatus()
} else {
statusProgressBar->hide();
}

rateComboBox->setEnabled(current_board_->serialIsSerial());
}

void MainWindow::refreshProgress()
Expand Down

0 comments on commit 8baf512

Please sign in to comment.