mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
First steps in supporting color fonts.
Some minor fixes to build with emscripten.
This commit is contained in:
@@ -1056,7 +1056,9 @@ void App::syncProjectTreeWithEditor( UICodeEditor* editor ) {
|
||||
std::string path = editor->getDocument().getFilePath();
|
||||
if ( path.size() >= mCurrentProject.size() ) {
|
||||
path = path.substr( mCurrentProject.size() );
|
||||
mProjectTreeView->setFocusOnSelection( false );
|
||||
mProjectTreeView->selectRowWithPath( path );
|
||||
mProjectTreeView->setFocusOnSelection( true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user