clear in/out label when updating objects
This commit is contained in:
parent
8b711782fd
commit
3476d91bb4
@ -1075,6 +1075,9 @@ void MainWindow::updateObjects(const QList<int> & ids)
|
|||||||
//update object labels
|
//update object labels
|
||||||
QLabel * title = this->findChild<QLabel*>(QString("%1title").arg(signatures[i]->id()));
|
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())));
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user