From c94e939149e7b2ac8bd2df7069220e2d47d5e013 Mon Sep 17 00:00:00 2001 From: dismine Date: Tue, 15 Oct 2013 12:26:47 +0300 Subject: [PATCH] Show value of variable in 0 row of list of variables. --HG-- branch : develop --- dialogs/dialogtool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{