mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 07:45:36 +00:00
do not autosave header when not configured to do so
This commit is contained in:
@@ -408,7 +408,7 @@ public class HeaderInfoPanel extends JPanel implements TagEditorPanel {
|
||||
|
||||
@Override
|
||||
public boolean tryAutoSave() {
|
||||
if (saveButton.isVisible() && saveButton.isEnabled()) {
|
||||
if (saveButton.isVisible() && saveButton.isEnabled() && Configuration.autoSaveTagModifications.get()) {
|
||||
saveButtonActionPerformed(null);
|
||||
}
|
||||
return !(saveButton.isVisible() && saveButton.isEnabled());
|
||||
|
||||
Reference in New Issue
Block a user