mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-25 04:37:22 +01:00
Allow displaying release notes from dev release
This commit is contained in:
parent
8e456db713
commit
e471a60844
@ -1521,8 +1521,14 @@ void FWWindow::showReleaseNotes()
|
||||
h->setName("Firewall Builder Release Notes");
|
||||
if (h->findHelpFile(file_name).isEmpty())
|
||||
{
|
||||
// the file does not exist
|
||||
h->hide();
|
||||
// the file does not exist - find the latest release note
|
||||
// use release_notes_5.3.0 to find the release notes directory
|
||||
h->showAllReleaseNotes(h->findHelpFile(QString("release_notes_5.3.0.html")));
|
||||
h->raise();
|
||||
h->show();
|
||||
|
||||
// use the generated list of release notes and select the first one
|
||||
h->showReleaseNotesSelected();
|
||||
} else
|
||||
{
|
||||
h->showAllReleaseNotes(h->findHelpFile(file_name));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user