mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-182230 Cancel merge without confirmation if no changes were made
This commit is contained in:
@@ -309,7 +309,7 @@ public class TextMergeViewer implements MergeTool.MergeViewer {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (result == MergeResult.CANCEL &&
|
||||
if (result == MergeResult.CANCEL && myContentModified &&
|
||||
!MergeUtil.showExitWithoutApplyingChangesDialog(TextMergeViewer.this, myMergeRequest, myMergeContext)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user