X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftrace.cpp;h=f23de2ff50b33cb2771468584b8b4c5051bf3fab;hp=896fdec5a5ee50bb40409ad9bed7154b3c955e0d;hb=1db1bdd6079178e218b3b1b0bd3e30efdf3e1690;hpb=3c1001230d7dd6ee68d21ed46082f5f97d3b4bfc diff --git a/pv/view/trace.cpp b/pv/view/trace.cpp index 896fdec..f23de2f 100644 --- a/pv/view/trace.cpp +++ b/pv/view/trace.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include "trace.h" @@ -263,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); @@ -272,11 +271,6 @@ void Trace::populate_popup_form(QWidget *parent, QFormLayout *form) add_colour_option(parent, form); } -void Trace::close_popup() -{ - _popup->close(); -} - void Trace::on_popup_closed() { _popup = NULL;