mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-83898 Commit dialog keeps focus and prevents from clicking on code analysis warning
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ public class CodeAnalysisBeforeCheckinHandler extends CheckinHandler {
|
||||
commitButtonText = commitButtonText.substring(0, commitButtonText.length()-3);
|
||||
}
|
||||
|
||||
final int answer = Messages.showYesNoCancelDialog(
|
||||
final int answer = Messages.showYesNoCancelDialog(myProject,
|
||||
VcsBundle.message("before.commit.files.contain.code.smells.edit.them.confirm.text", errorCount, warningCount),
|
||||
VcsBundle.message("code.smells.error.messages.tab.name"), VcsBundle.message("code.smells.review.button"),
|
||||
commitButtonText, CommonBundle.getCancelButtonText(), UIUtil.getWarningIcon());
|
||||
|
||||
Reference in New Issue
Block a user