Skip to content

Commit

Permalink
Remove notification on every autosave
Browse files Browse the repository at this point in the history
  • Loading branch information
eltos committed Dec 18, 2023
1 parent 5cd98b8 commit e7d0fbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions PasteIntoFile/Dialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,10 @@ public Dialog(string location = null, string filename = null, bool? showDialogOv

var file = clipRead ? save(overwriteIfExists) : null;
if (file != null) {
Environment.ExitCode = 0;

// select file in explorer for rename and exit afterwards
ExplorerUtil.FilenameEditComplete += (sender, args) => {
Program.ShowBalloon(Resources.str_autosave_balloontitle,
new[] { file, Resources.str_autosave_balloontext }, 10);
Environment.ExitCode = 0;
CloseAsSoonAsPossible();
};

Expand Down

0 comments on commit e7d0fbe

Please sign in to comment.