]> sigrok.org Git - pulseview.git/commitdiff
DecodeTrace: Disallow row hiding for the time being
authorSoeren Apel <redacted>
Sun, 5 Jan 2020 19:48:13 +0000 (20:48 +0100)
committerUwe Hermann <redacted>
Sun, 5 Jan 2020 21:46:36 +0000 (22:46 +0100)
pv/views/trace/decodetrace.cpp

index 0715981c5c7366369b2a5e7a9743381f14639743..f9b7158e518278f8296b78d04d70d14a41d6e77f 100644 (file)
@@ -1279,6 +1279,8 @@ void DecodeTrace::initialize_row_widgets(DecodeTraceRow* r, unsigned int row_id)
        cb->setText(tr("Show this row"));
        cb->setChecked(r->decode_row->visible());
 
+       cb->setEnabled(false);
+
        row_show_hide_mapper_.setMapping(cb, row_id);
        connect(cb, SIGNAL(stateChanged(int)),
                &row_show_hide_mapper_, SLOT(map()));