From 12bd40e67d468be7da3d9af50bcc5d3a3d40f472 Mon Sep 17 00:00:00 2001 From: Gary Bentley Date: Sat, 17 Mar 2018 12:33:58 +1000 Subject: [PATCH] Removed some debug code that was causing too many what's new items to be displayed when QW has been upgraded. --- src/com/quollwriter/ui/WhatsNew.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/quollwriter/ui/WhatsNew.java b/src/com/quollwriter/ui/WhatsNew.java index b9f87720..abb6cff5 100644 --- a/src/com/quollwriter/ui/WhatsNew.java +++ b/src/com/quollwriter/ui/WhatsNew.java @@ -63,8 +63,6 @@ public WhatsNew (AbstractViewer viewer, } - wn = "2.4.2"; - // Get the current whats new version (i.e. old). Version lastWhatsNewVersion = new Version (wn); @@ -106,6 +104,7 @@ public WhatsNew (AbstractViewer viewer, } */ + if ((lastWhatsNewVersion.isNewer (v)) || ((onlyShowCurrentVersion)