Skip to content

Commit

Permalink
Merge branch 'fix/ok-button' into 'develop'
Browse files Browse the repository at this point in the history
fix wrong usage of ok button

See merge request cps/commonroad/commonroad-scenario-designer!445
  • Loading branch information
smaierhofer committed Nov 4, 2024
2 parents bfd7b59 + 09cffdf commit ac797fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- osm2cr: Intersection incoming elements did not reference any incoming lanelets
- Command line interface: Providing no input path
- Scenario fails to be opened, if any of the dynamic obstacles does not contain a prediction
- GUI: wrong usage of button

## [0.8.2] - 2024-07-22

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ def _init_animation(self):
if start == end:
warning_dialog = QMessageBox()
warning_dialog.warning(
None, "Warning", "This Scenario only has one time step!", QMessageBox.Ok, QMessageBox.Ok
None,
"Warning",
"This Scenario only has one time step!",
QMessageBox.StandardButton.Ok,
QMessageBox.StandardButton.Ok,
)
warning_dialog.close()

Expand Down

0 comments on commit ac797fd

Please sign in to comment.