Don't show release notes if we don't know where we last showed them.
authorCarl Hetherington <cth@carlh.net>
Tue, 25 Mar 2025 23:43:42 +0000 (00:43 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 25 Mar 2025 23:43:42 +0000 (00:43 +0100)
src/lib/release_notes.cc

index 64556bb2683f5b7e626344863bb962c0fcb2bc6e..c2e644da72bda6b3d070e77b0f2e2e625a0225df 100644 (file)
@@ -72,15 +72,16 @@ find_release_notes(bool dark, optional<string> current)
                return {};
        }
 
+       /* It's been a while now since we added release notes.  Don't show them
+        * for (potentially) long ago previous unknowns any more.
+        */
+       if (!last) {
+               last = *current;
+       }
+
        Config::instance()->set_last_release_notes_version(*current);
 
        vector<string> notes;
-       if (!last) {
-               notes.push_back(_("In this version there are changes to the way that subtitles are positioned. "
-                                 "Positioning should now be more correct, with respect to the standards, but you "
-                                 "should check any subtitles in your project to make sure that they are placed "
-                                 "where you want them."));
-       }
 
        if (before(last, "2.17.19")) {
                notes.push_back(_("The vertical offset control for some subtitles now works in the opposite direction "