if (StringUtil.isEmpty(actionLabel)) {
actionLabel = anAction.getTemplatePresentation().getText();
}
if (Messages.showYesNoDialog(frame, "Would you like to assign shortcut to '" + actionLabel + "' action cause we noticed it was used " + withoutShortcutStats.get(id) + " time(s) by mouse?",
"[KeyPromoter said]: Keyboard usage more productive!", Messages.getQuestionIcon()) == 0) {
EditKeymapsDialog dialog = new EditKeymapsDialog(((IdeFrameImpl) frame).getProject(), id);
dialog.show();
}
}
}
}
}