mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 12:55:39 +00:00
close confirmation fix
This commit is contained in:
@@ -852,8 +852,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean closeAll() {
|
||||
if (isModified()) {
|
||||
public boolean closeAll(boolean showCloseConfirmation) {
|
||||
if (showCloseConfirmation && isModified()) {
|
||||
boolean closeConfirmResult = closeConfirmation(swfs.size() == 1 ? swfs.get(0) : null);
|
||||
if (!closeConfirmResult) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user