clear in/out label when updating objects

This commit is contained in:
matlabbe 2016-01-17 18:02:40 -05:00
parent 8b711782fd
commit 3476d91bb4

View File

@ -1075,6 +1075,9 @@ void MainWindow::updateObjects(const QList<int> & ids)
//update object labels
QLabel * title = this->findChild<QLabel*>(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<QLabel*>(QString("%1detection").arg(signatures[i]->id()));
label->clear();
}
}