#783 No OK box when edited script or text was saved (show messages only if it was't saved or with errors)

This commit is contained in:
honfika@gmail.com
2015-02-01 20:47:28 +01:00
parent ad7148f539
commit 63c6edf0fb
6 changed files with 26 additions and 4 deletions

View File

@@ -818,7 +818,7 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener, Se
}
setDecompiledEditMode(false);
reload();
View.showMessageDialog(this, AppStrings.translate("message.action.saved"));
View.showMessageDialog(this, AppStrings.translate("message.action.saved"), AppStrings.translate("dialog.message.title"), JOptionPane.INFORMATION_MESSAGE, Configuration.showCodeSavedMessage);
} catch (AVM2ParseException ex) {
abc.script_info.get(oldIndex).delete(abc, false);
decompiledTextArea.gotoLine((int) ex.line);