]> sigrok.org Git - pulseview.git/commitdiff
Connect dialog: Fix an issue where serial ports can't be selected
authorUwe Hermann <redacted>
Thu, 7 Nov 2019 22:48:01 +0000 (23:48 +0100)
committerUwe Hermann <redacted>
Thu, 7 Nov 2019 22:48:01 +0000 (23:48 +0100)
Without this fix, clicking the "Serial Port" radio button would not
enable the serial port dropdown (it would remain grayed out).

pv/dialogs/connect.cpp

index 077314f8fa76c1ceb5defc323d2cc48927a33e0c..d238d681097bc5fcfd87c2351e87949f09dc16de 100644 (file)
@@ -211,6 +211,7 @@ void Connect::serial_toggled(bool checked)
 {
        serial_devices_.setEnabled(checked);
        serial_baudrate_.setEnabled(checked);
+       serial_config_->setEnabled(checked);
 }
 
 void Connect::tcp_toggled(bool checked)