mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 18:16:31 +03:00
Plugin preferences configuration WIP.
This commit is contained in:
@@ -1787,7 +1787,14 @@ void App::updateTerminalMenu() {
|
||||
}
|
||||
|
||||
void App::createPluginManagerUI() {
|
||||
UIPluginManager::New( mUISceneNode, mPluginManager.get() )->showWhenReady();
|
||||
UIPluginManager::New( mUISceneNode, mPluginManager.get(), [&]( const std::string& path ) {
|
||||
UITab* tab = mSplitter->isDocumentOpen( path );
|
||||
if ( !tab ) {
|
||||
loadFileFromPath( path );
|
||||
} else {
|
||||
tab->getTabWidget()->setTabSelected( tab );
|
||||
}
|
||||
} )->showWhenReady();
|
||||
}
|
||||
|
||||
void App::updateDocumentMenu() {
|
||||
|
||||
Reference in New Issue
Block a user