From: Soeren Apel Date: Tue, 26 Aug 2014 12:13:38 +0000 (+0200) Subject: Populate signal popup combo box with signal name instead of probe name X-Git-Tag: pulseview-0.3.0~560 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=989718da1a432fcb3bf1d6e7e915a2afe362e267;p=pulseview.git Populate signal popup combo box with signal name instead of probe name --- diff --git a/pv/view/signal.cpp b/pv/view/signal.cpp index 8ca5130b..0ce423fe 100644 --- a/pv/view/signal.cpp +++ b/pv/view/signal.cpp @@ -99,7 +99,7 @@ void Signal::populate_popup_form(QWidget *parent, QFormLayout *form) for(unsigned int i = 0; i < countof(ProbeNames); i++) _name_widget->insertItem(i, ProbeNames[i]); - _name_widget->setEditText(_probe->name); + _name_widget->setEditText(_name); _name_widget->lineEdit()->selectAll(); _name_widget->setFocus();