We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 88d3382 + 84fd3f5 commit 6483b25Copy full SHA for 6483b25
External/Plugins/CodeRefactor/Commands/Move.cs
@@ -108,7 +108,13 @@ protected override void ExecutionImplementation()
108
msg = TextHelper.GetString("Info.MovingFile");
109
title = TextHelper.GetString("Title.MoveDialog");
110
}
111
- if (targets.Count > 0 && MessageBox.Show(msg, title, MessageBoxButtons.YesNo) == DialogResult.Yes)
+ var dialogResult = MessageBox.Show(msg, title, MessageBoxButtons.YesNoCancel);
112
+ if (dialogResult == DialogResult.Cancel)
113
+ {
114
+ FireOnRefactorComplete();
115
+ return;
116
+ }
117
+ if (targets.Count > 0 && dialogResult == DialogResult.Yes)
118
{
119
// We must keep the original files for validating references
120
CopyTargets();
0 commit comments