From 561ae9489e5ae08339c115adb4916fe72f6379b6 Mon Sep 17 00:00:00 2001 From: Torsten Sommer Date: Wed, 11 Dec 2024 10:49:08 +0100 Subject: [PATCH] Bump links in GUI to FMI Spec to 3.0.2 & 2.0.5 fixes #720 --- fmpy/gui/MainWindow.py | 4 ++-- fmpy/gui/forms/MainWindow.ui | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fmpy/gui/MainWindow.py b/fmpy/gui/MainWindow.py index 6546f568..cbe76720 100644 --- a/fmpy/gui/MainWindow.py +++ b/fmpy/gui/MainWindow.py @@ -286,8 +286,8 @@ def __init__(self, parent=None): self.ui.actionAddCoSimulationWrapper.triggered.connect(self.addCoSimulationWrapper) # help menu - self.ui.actionOpenFMI3Spec.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://fmi-standard.org/docs/3.0.1/'))) - self.ui.actionOpenFMI2Spec.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://github.com/modelica/fmi-standard/releases/download/v2.0.4/FMI-Specification-2.0.4.pdf'))) + self.ui.actionOpenFMI3Spec.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://fmi-standard.org/docs/3.0.2/'))) + self.ui.actionOpenFMI2Spec.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://github.com/modelica/fmi-standard/releases/download/v2.0.5/FMI-Specification-2.0.5.pdf'))) self.ui.actionOpenFMI1SpecCS.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://fmi-standard.org/assets/releases/FMI_for_CoSimulation_v1.0.1.pdf'))) self.ui.actionOpenFMI1SpecME.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://fmi-standard.org/assets/releases/FMI_for_ModelExchange_v1.0.1.pdf'))) self.ui.actionOpenTestFMUs.triggered.connect(lambda: QDesktopServices.openUrl(QUrl('https://github.com/modelica/fmi-cross-check/tree/master/fmus'))) diff --git a/fmpy/gui/forms/MainWindow.ui b/fmpy/gui/forms/MainWindow.ui index 081ceb7b..8d2eae85 100644 --- a/fmpy/gui/forms/MainWindow.ui +++ b/fmpy/gui/forms/MainWindow.ui @@ -1727,10 +1727,10 @@ QToolButton:checked, QToolButton:hover:pressed { - FMI 2.0.4 + FMI 2.0.5 - Open FMI Specification 2.0.4 + Open FMI Specification 2.0.5 @@ -1991,10 +1991,10 @@ QToolButton:checked, QToolButton:hover:pressed { - FMI 3.0.1 + FMI 3.0.2 - Open FMI Specification 3.0.1 + Open FMI Specification 3.0.2 QAction::MenuRole::NoRole