]> sigrok.org Git - pulseview.git/commitdiff
Populate signal popup combo box with signal name instead of probe name
authorSoeren Apel <redacted>
Tue, 26 Aug 2014 12:13:38 +0000 (14:13 +0200)
committerUwe Hermann <redacted>
Wed, 27 Aug 2014 16:32:35 +0000 (18:32 +0200)
pv/view/signal.cpp

index 8ca5130b05430217097e9caad33886b093478d84..0ce423feaae6b97e5bc6809d75fa368b0a71bccb 100644 (file)
@@ -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();