mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 08:34:50 +00:00
Abc cleaner warning dialog has warning icon.
This commit is contained in:
@@ -2659,7 +2659,7 @@ public class ABCExplorerDialog extends AppDialog {
|
||||
private void cleanActionPerformed(ActionEvent e) {
|
||||
ABC abc = getSelectedAbc();
|
||||
if (abc != null) {
|
||||
if (ViewMessages.showConfirmDialog(this, AppStrings.translate("warning.cleanAbc"), AppStrings.translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.warningAbcClean, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) {
|
||||
if (ViewMessages.showConfirmDialog(this, AppStrings.translate("warning.cleanAbc"), AppStrings.translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE, Configuration.warningAbcClean, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) {
|
||||
return;
|
||||
}
|
||||
int mainIndex = mainTabbedPane.getSelectedIndex();
|
||||
|
||||
@@ -2947,7 +2947,7 @@ public class TagTreeContextMenu extends JPopupMenu {
|
||||
if (item == null) {
|
||||
return;
|
||||
}
|
||||
if (ViewMessages.showConfirmDialog(this, AppStrings.translate("warning.cleanAbc"), AppStrings.translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, Configuration.warningAbcClean, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) {
|
||||
if (ViewMessages.showConfirmDialog(this, AppStrings.translate("warning.cleanAbc"), AppStrings.translate("message.warning"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE, Configuration.warningAbcClean, JOptionPane.OK_OPTION) != JOptionPane.OK_OPTION) {
|
||||
return;
|
||||
}
|
||||
ABCCleaner cleaner = new ABCCleaner();
|
||||
|
||||
Reference in New Issue
Block a user