Skip to content

Commit

Permalink
Fixed the autosave status for Revert command
Browse files Browse the repository at this point in the history
NOTE: Fixed the autosave status which was kept "unsaved" after a Revert command
be used. Thanks to @jczd
  • Loading branch information
Micheus committed Jan 1, 2025
1 parent c17b3d9 commit 6b38d9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wings_file.erl
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ confirmed_revert_1(#st{file=File}=St0) ->
case ?SLOW(wings_ff_wings:import(File, St1)) of
#st{}=St2 ->
St = wings_obj:recreate_folder_system(St2),
wings_u:caption(St#st{saved=true}),
clean_images(St);
{error,_}=Error ->
Error
Expand Down

0 comments on commit 6b38d9f

Please sign in to comment.