Ver código fonte

Resolve issue #193 - Gui Editor treeview now refreshes correctly when changed through a drag/drop operation.

thecelloman 12 anos atrás
pai
commit
19c685dc23
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Engine/source/gui/controls/guiTreeViewCtrl.cpp

+ 2 - 0
Engine/source/gui/controls/guiTreeViewCtrl.cpp

@@ -3437,6 +3437,8 @@ void GuiTreeViewCtrl::onMouseUp(const GuiEvent &event)
       scrollVisible(newItem);
 
       onDragDropped_callback();
+
+      buildVisibleTree(false);
    }
 
    mDragMidPoint = NomDragMidPoint;