From a5a684f05a529e9c79eeb8f168e7e8d3368c9299 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 26 Mar 2025 00:43:42 +0100 Subject: Don't show release notes if we don't know where we last showed them. --- src/lib/release_notes.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/release_notes.cc b/src/lib/release_notes.cc index 64556bb26..c2e644da7 100644 --- a/src/lib/release_notes.cc +++ b/src/lib/release_notes.cc @@ -72,15 +72,16 @@ find_release_notes(bool dark, optional 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 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 " -- cgit v1.2.3