From 3476d91bb4f65abe15da23027c5f28cbe658af38 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Sun, 17 Jan 2016 18:02:40 -0500 Subject: [PATCH] clear in/out label when updating objects --- src/MainWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index e81c7e7e..670c8735 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1075,6 +1075,9 @@ void MainWindow::updateObjects(const QList & ids) //update object labels QLabel * title = this->findChild(QString("%1title").arg(signatures[i]->id())); title->setText(QString("%1 (%2)").arg(signatures[i]->id()).arg(QString::number(signatures[i]->keypoints().size()))); + + QLabel * label = this->findChild(QString("%1detection").arg(signatures[i]->id())); + label->clear(); } }