From 81efca26df9dec9cd8a0dac4d00d18f58b8de87f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 10 Mar 2016 16:37:29 +0000 Subject: [PATCH] Support REVERT for all rename actions --- source/net/filebot/HistorySpooler.java | 2 +- source/net/filebot/ui/rename/HistoryDialog.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/HistorySpooler.java b/source/net/filebot/HistorySpooler.java index be3ddef0..a66b6750 100644 --- a/source/net/filebot/HistorySpooler.java +++ b/source/net/filebot/HistorySpooler.java @@ -46,7 +46,7 @@ public final class HistorySpooler { private History sessionHistory = new History(); public synchronized History getCompleteHistory() throws IOException { - if (!persistentHistoryEnabled || persistentHistoryFile.length() <= 0) { + if (persistentHistoryFile.length() <= 0) { return new History(sessionHistory.sequences()); } diff --git a/source/net/filebot/ui/rename/HistoryDialog.java b/source/net/filebot/ui/rename/HistoryDialog.java index 7f7ad35f..4bffbb4f 100644 --- a/source/net/filebot/ui/rename/HistoryDialog.java +++ b/source/net/filebot/ui/rename/HistoryDialog.java @@ -102,7 +102,7 @@ class HistoryDialog extends JDialog { private final JTable elementTable = createTable(elementModel); public HistoryDialog(Window owner) { - super(owner, "Rename History", ModalityType.DOCUMENT_MODAL); + super(owner, "History", ModalityType.DOCUMENT_MODAL); // bold title label in header JLabel title = new JLabel(this.getTitle());