Generic auto-focusing for first line edit of popup
[pulseview.git] / pv / view / trace.cpp
index 7aa199c6ec1ca89acd3cbff98c247f755ae5fe95..f23de2ff50b33cb2771468584b8b4c5051bf3fab 100644 (file)
@@ -264,8 +264,6 @@ void Trace::populate_popup_form(QWidget *parent, QFormLayout *form)
 {
        QLineEdit *const name_edit = new QLineEdit(parent);
        name_edit->setText(_name);
-       name_edit->selectAll();
-       name_edit->setFocus();
        connect(name_edit, SIGNAL(textChanged(const QString&)),
                this, SLOT(on_text_changed(const QString&)));
        form->addRow(tr("Name"), name_edit);