Added: #1644 Save all button - has priority over standard Save button

Changed: Save to EXE moved to tools tab
Changed: Save (not save as) button are now available only when there's anything to save when the selected SWF is modified. Similar for Save all button.
This commit is contained in:
Jindra Petřík
2024-08-05 11:17:25 +02:00
parent 449f96942e
commit cbcc2dc88a
9 changed files with 97 additions and 18 deletions
@@ -1300,7 +1300,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
mainPanel.clearEditingStatus();
if (refreshTree) {
mainPanel.refreshTree(src.getSwf());
}
}
} catch (IOException ex) {
//ignored
} catch (ActionParseException ex) {
@@ -1339,6 +1339,9 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
}
setDecompiledEditMode(false);
mainPanel.clearEditingStatus();
if (refreshTree) {
mainPanel.refreshTree(src.getSwf());
}
} catch (ValueTooLargeException ex) {
ViewMessages.showMessageDialog(this, AppStrings.translate("error.action.save.valueTooLarge"), AppStrings.translate("error"), JOptionPane.ERROR_MESSAGE);
} catch (IOException ex) {