mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-14 13:15:14 +03:00
Updated github actions windows build.
Updated efsw. ecode: Minor fix in app title when saving files.
This commit is contained in:
@@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
Windows:
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2019
|
||||
env:
|
||||
MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\
|
||||
steps:
|
||||
|
||||
2
src/thirdparty/efsw
vendored
2
src/thirdparty/efsw
vendored
Submodule src/thirdparty/efsw updated: dfc898bc89...74ca09bff8
@@ -66,11 +66,15 @@ void App::saveAllProcess() {
|
||||
if ( editor->getDocument().hasFilepath() ) {
|
||||
editor->save();
|
||||
updateEditorTabTitle( editor );
|
||||
if ( mEditorSplitter->getCurEditor() == editor )
|
||||
updateEditorTitle( editor );
|
||||
mTmpDocs.erase( &editor->getDocument() );
|
||||
} else {
|
||||
UIFileDialog* dialog = saveFileDialog( editor, false );
|
||||
dialog->addEventListener( Event::SaveFile, [&, editor]( const Event* ) {
|
||||
updateEditorTabTitle( editor );
|
||||
if ( mEditorSplitter->getCurEditor() == editor )
|
||||
updateEditorTitle( editor );
|
||||
} );
|
||||
dialog->addEventListener( Event::OnWindowClose, [&, editor]( const Event* ) {
|
||||
mTmpDocs.erase( &editor->getDocument() );
|
||||
|
||||
Reference in New Issue
Block a user