mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-26 22:00:01 +03:00
Redesigned LLM model selection in AI Assistant chat UI (now it's possible to search by filtering its name).
Redesigned UIDropDownList to inherit from UIDropDown which is a base class to handle different types of drop-downs. Added UIDropDownModelList which is the same as UIDropDownList but uses a UIListView by default so it's a model/view based DropDown. Fix crash when changing states of the buttons in the build panel. Increased the default animations speed.
This commit is contained in:
@@ -217,16 +217,20 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
|
||||
}
|
||||
|
||||
if ( enableBuildButton && buildButton )
|
||||
buildButton->setEnabled( true );
|
||||
buildButton->ensureMainThread( [buildButton] { buildButton->setEnabled( true ); } );
|
||||
|
||||
if ( enableCleanButton && cleanButton )
|
||||
cleanButton->runOnMainThread( [cleanButton] { cleanButton->setEnabled( true ); } );
|
||||
cleanButton->ensureMainThread( [cleanButton] { cleanButton->setEnabled( true ); } );
|
||||
|
||||
if ( buildAndRunButton )
|
||||
buildAndRunButton->setEnabled( true );
|
||||
if ( buildAndRunButton ) {
|
||||
buildAndRunButton->ensureMainThread(
|
||||
[buildAndRunButton] { buildAndRunButton->setEnabled( true ); } );
|
||||
}
|
||||
|
||||
mBuildButton->setEnabled( true );
|
||||
mStopButton->setEnabled( false );
|
||||
mBuildButton->ensureMainThread( [this] {
|
||||
mBuildButton->setEnabled( true );
|
||||
mStopButton->setEnabled( false );
|
||||
} );
|
||||
};
|
||||
|
||||
auto res = pbm->build(
|
||||
|
||||
Reference in New Issue
Block a user