From: Soeren Apel Date: Sun, 5 Jan 2020 19:48:13 +0000 (+0100) Subject: DecodeTrace: Disallow row hiding for the time being X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=63e9fa9d569cfa2f098054b49317b6030a425f17;p=pulseview.git DecodeTrace: Disallow row hiding for the time being --- diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp index 0715981c..f9b7158e 100644 --- a/pv/views/trace/decodetrace.cpp +++ b/pv/views/trace/decodetrace.cpp @@ -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()));