Skip to content

Commit

Permalink
Fix "Close All" menu enabled when no file is open
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Gervais <[email protected]>
  • Loading branch information
g-maxime committed Oct 30, 2024
1 parent 425d8e4 commit 1874ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Common/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ float Core::Menu_File_Open_Files_Finish_Middle ()
CriticalSectionLocker CSL(CS);

StdAll(Handler);
if (!FileNotValid_Skip)
if (!FileNotValid_Skip && !Canceled)
{
//We handle it as a normal file
Handler++;
Expand Down

0 comments on commit 1874ea9

Please sign in to comment.