diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-15 16:34:17 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-09-01 13:24:16 +0200 |
| commit | f98ba5207415b8093b429b02a704bd9f5e8fc4d6 (patch) | |
| tree | 9907aa511204ff5962877e2a2e8c4ad3d9eaf7c5 /src/GraphicObjects/TreeView.cs | |
| parent | 2c047b38b1cfff5fca57f61de90ee8d1607cd236 (diff) | |
* Crow.sln, test.crow, CrowIDE.csproj, CrowIDE.cs, imlEditor.crow, TreeView.cs, DirectoryView.cs:
basic IML loading into imlVE interface
* ImlVisualEditor.cs:
basic IML loading into veIface
* CompilerServices.cs:
CurrentInterface as public
* GraphicObject.cs:
RegisterForRedraw as virtual
Diffstat (limited to 'src/GraphicObjects/TreeView.cs')
| -rw-r--r-- | src/GraphicObjects/TreeView.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GraphicObjects/TreeView.cs b/src/GraphicObjects/TreeView.cs index ef228260..78786cd7 100644 --- a/src/GraphicObjects/TreeView.cs +++ b/src/GraphicObjects/TreeView.cs @@ -95,6 +95,8 @@ namespace Crow internal override void itemClick (object sender, MouseButtonEventArgs e) { GraphicObject tmp = sender as GraphicObject; + if (!tmp.HasFocus) + return; if (selectedItemContainer != null) { selectedItemContainer.Foreground = Color.Transparent; selectedItemContainer.Background = Color.Transparent; |