Skip to content

Commit

Permalink
Bump links in GUI to FMI Spec to 3.0.2 & 2.0.5
Browse files Browse the repository at this point in the history
fixes #720
  • Loading branch information
t-sommer committed Dec 11, 2024
1 parent 1ad0bf9 commit 561ae94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions fmpy/gui/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')))
Expand Down
8 changes: 4 additions & 4 deletions fmpy/gui/forms/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1727,10 +1727,10 @@ QToolButton:checked, QToolButton:hover:pressed {
</action>
<action name="actionOpenFMI2Spec">
<property name="text">
<string>FMI 2.0.4</string>
<string>FMI 2.0.5</string>
</property>
<property name="toolTip">
<string>Open FMI Specification 2.0.4</string>
<string>Open FMI Specification 2.0.5</string>
</property>
</action>
<action name="actionOpenFMI1SpecCS">
Expand Down Expand Up @@ -1991,10 +1991,10 @@ QToolButton:checked, QToolButton:hover:pressed {
</action>
<action name="actionOpenFMI3Spec">
<property name="text">
<string>FMI 3.0.1</string>
<string>FMI 3.0.2</string>
</property>
<property name="toolTip">
<string>Open FMI Specification 3.0.1</string>
<string>Open FMI Specification 3.0.2</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
Expand Down

0 comments on commit 561ae94

Please sign in to comment.