From 406065ad204ba60e7338a3ea7228dc39b25e5bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Fri, 9 Dec 2022 17:04:03 +0100 Subject: [PATCH] Fixed Reload button disabled after saving new file --- CHANGELOG.md | 1 + .../src/com/jpexs/decompiler/flash/OpenableSourceInfo.java | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f46cdd059..9461db0f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file. - Warnings about invalid reflective access in color dialog on Java 9+ - Folder preview tag names have indices when multiple with same name - ShapeImporter fillstyles shapenum +- Reload button disabled after saving new file ### Changed - Quick search needs minimum of 3 characters diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java index 25bab61ad..a6a350cdc 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java @@ -87,6 +87,7 @@ public class OpenableSourceInfo { public void setFile(String file) { this.file = file; detectKind(); + empty = false; } public String getFileTitle() {