mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Fixes an issue when reloading documents (file system change) that disabled the linter by mistake.
This commit is contained in:
@@ -2423,6 +2423,8 @@ void App::onCodeEditorCreated( UICodeEditor* editor, TextDocument& doc ) {
|
||||
} );
|
||||
|
||||
auto docChanged = [this]( const Event* event ) {
|
||||
if ( !Engine::isRunninMainThread() )
|
||||
return;
|
||||
const DocEvent* synEvent = static_cast<const DocEvent*>( event );
|
||||
UICodeEditor* editor = event->getNode()->asType<UICodeEditor>();
|
||||
UIIcon* icon = mUISceneNode->findIcon(
|
||||
|
||||
Reference in New Issue
Block a user