OSDN Git Service

RAD-176: Landmarks sending avatar to the wrong place on first try
authorLatif Khalifa <latifer@streamgrid.net>
Sun, 25 Jul 2010 09:58:10 +0000 (09:58 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Sun, 25 Jul 2010 09:58:10 +0000 (09:58 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@710 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/GUI/Consoles/Inventory/InventoryConsole.cs

index ec3eb9e..a01d528 100644 (file)
@@ -878,9 +878,9 @@ namespace Radegast
 
         void invTree_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
         {
-            if (e.Node.Tag is InventoryItem)
+            if (invTree.SelectedNode.Tag is InventoryItem)
             {
-                InventoryItem item = e.Node.Tag as InventoryItem;
+                InventoryItem item = invTree.SelectedNode.Tag as InventoryItem;
                 switch (item.AssetType)
                 {