diff --git a/dialogs/dialogtool.cpp b/dialogs/dialogtool.cpp index 4d2424539..c0f9012b8 100644 --- a/dialogs/dialogtool.cpp +++ b/dialogs/dialogtool.cpp @@ -451,8 +451,8 @@ void DialogTool::ShowVariable(const QHash *var){ item->setFont(QFont("Times", 12, QFont::Bold)); listWidget->addItem(item); } - listWidget->setCurrentRow (0); connect(listWidget, &QListWidget::currentRowChanged, this, &DialogTool::ValChenged); + listWidget->setCurrentRow (0); } qint64 DialogTool::getIdDetail() const{