From 4b0d04c081c0274b389b7c3ac989b58c2193175a Mon Sep 17 00:00:00 2001
From: Stephane Albert <stephane.albert@c-s.fr>
Date: Mon, 15 Jul 2013 16:52:20 +0200
Subject: [PATCH] ENH: Fixed bug where newly imported dataset is selected,
 displayed but not highlighted in the database browser.

---
 Code/Common/Gui/mvdDatabaseBrowserWidget.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Code/Common/Gui/mvdDatabaseBrowserWidget.cxx b/Code/Common/Gui/mvdDatabaseBrowserWidget.cxx
index 1c852fa2f1..b1c46b52d2 100644
--- a/Code/Common/Gui/mvdDatabaseBrowserWidget.cxx
+++ b/Code/Common/Gui/mvdDatabaseBrowserWidget.cxx
@@ -238,7 +238,8 @@ DatabaseBrowserWidget
   QList< QTreeWidgetItem* > items(
     m_UI->databaseTreeWidget->findItems(
       id,
-      Qt::MatchExactly | Qt::MatchRecursive
+      Qt::MatchExactly | Qt::MatchRecursive,
+      1
     )
   );
 
-- 
GitLab