TreeView in ecode and more fixes and improvements for the abstract views, treeview and models.

This commit is contained in:
Martín Lucas Golini
2020-07-19 01:35:20 -03:00
parent 2e1930f51c
commit 08caa0070d
14 changed files with 227 additions and 65 deletions

View File

@@ -403,7 +403,7 @@ void AutoCompleteModule::resetSuggestions( UICodeEditor* editor ) {
mSuggestionIndex = 0;
mSuggestionsEditor = nullptr;
mSuggestions.clear();
if ( editor )
if ( editor && editor->hasFocus() )
editor->getUISceneNode()->setCursor( !editor->isLocked() ? Cursor::IBeam : Cursor::Arrow );
}