Fix: When build is triggered with unsaved files don't display the file save dialog for files that are just in text buffer.

Fix: Ctrl+W does not close the tab in Build Settings: Added Event::OnFocusWithin so the tab widget registers that event to setCurrenWidget in UICodeEditorSplitter.
This commit is contained in:
Martín Lucas Golini
2026-05-18 01:08:14 -03:00
parent 8cfedc4590
commit 97fc336955
11 changed files with 43 additions and 21 deletions

View File

@@ -765,7 +765,7 @@ void ProjectBuildManager::buildCurrentConfig( StatusBuildOutputController* sboc,
if ( sboc && !isBuilding() && !getBuilds().empty() ) {
const ProjectBuild* build = getCurrentBuild();
if ( build ) {
mApp->saveAll();
mApp->saveAll( false );
sboc->runBuild( build->getName(), mConfig.buildType,
getOutputParser( build->getName() ), false, doneFn );
}