From 35b4aac2138ef8990f78c64377eee147e59d0591 Mon Sep 17 00:00:00 2001 From: pixhawk Date: Mon, 5 Jul 2010 13:42:18 +0200 Subject: [PATCH] pattern/letter recognition: clear button also resets text and image labels --- src/ui/ObjectDetectionView.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/ObjectDetectionView.cc b/src/ui/ObjectDetectionView.cc index 4439591d4..68e9f3c2e 100644 --- a/src/ui/ObjectDetectionView.cc +++ b/src/ui/ObjectDetectionView.cc @@ -188,8 +188,13 @@ void ObjectDetectionView::clearLists() { patternList.clear(); letterList.clear(); + m_ui->listWidget->clear(); m_ui->letterListWidget->clear(); + + m_ui->imageLabel->clear();; + m_ui->letterLabel->clear(); + m_ui->nameLabel->clear(); } void ObjectDetectionView::takeAction() -- 2.22.0