| 705 | } |
| 706 | |
| 707 | void AppConfig::editorLoadedCounter( ecode::App* app ) { |
| 708 | editorsToLoad--; |
| 709 | if ( editorsToLoad <= 0 ) { |
| 710 | app->getUISceneNode()->runOnMainThread( [app] { |
| 711 | if ( !app->getFileToOpen().empty() ) { |
| 712 | app->loadFileDelayed(); |
| 713 | } else { |
| 714 | app->getSplitter()->addCurrentPositionToNavigationHistory(); |
| 715 | } |
| 716 | } ); |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | void AppConfig::loadDocuments( UICodeEditorSplitter* editorSplitter, json j, |
| 721 | UITabWidget* curTabWidget, ecode::App* app, |
nothing calls this directly
no test coverage detected