From e9549f6d0097d34cee1dd6f89fec9ffe0366d588 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 9 Jun 2014 17:46:34 +0100 Subject: [PATCH] Introjucer: clicking already-selected items in the treeview now opens their document. --- extras/Introjucer/Source/Utility/jucer_JucerTreeViewBase.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/Introjucer/Source/Utility/jucer_JucerTreeViewBase.cpp b/extras/Introjucer/Source/Utility/jucer_JucerTreeViewBase.cpp index d6e6127869..961f3a01f3 100644 --- a/extras/Introjucer/Source/Utility/jucer_JucerTreeViewBase.cpp +++ b/extras/Introjucer/Source/Utility/jucer_JucerTreeViewBase.cpp @@ -189,6 +189,10 @@ void JucerTreeViewBase::itemClicked (const MouseEvent& e) else showPopupMenu(); } + else if (isSelected()) + { + itemSelectionChanged (true); + } } void JucerTreeViewBase::deleteItem() {}