Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RegPreview] Various improvements on how files are saved #37628

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
code cleanup
  • Loading branch information
htcfreek committed Feb 25, 2025
commit f95bb4366275a1c4aae227ec9afb0eb38426ef08
Original file line number Diff line number Diff line change
@@ -62,7 +62,6 @@ private async Task<bool> OpenRegistryFile(string filename)

// update the current window's title with the current filename
_updateWindowTitleFunction(filename);
UpdateUnsavedFileIndicator(false);

// Load in the whole file in one call and plop it all into editor
FileStream fileStream = null;
@@ -992,7 +991,6 @@ private bool SaveFile()

// only change when the save is successful
_updateWindowTitleFunction(_appFileName);
UpdateUnsavedFileIndicator(false);
saveButton.IsEnabled = false;
}
catch (UnauthorizedAccessException ex)
Loading
Oops, something went wrong.