Skip to content

Commit

Permalink
Merge pull request #27 from tisnik/help-for-default-model-dialog
Browse files Browse the repository at this point in the history
Help for default model dialog
  • Loading branch information
tisnik authored Feb 6, 2025
2 parents 712ec6f + 0e9b875 commit aef8062
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/default_model_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import tkinter

from gui.dialogs.help_dialog import show_help
from gui.dialogs.help_dialog import show_help_for_default_model_dialog
from gui.icons import Icons


Expand Down Expand Up @@ -54,4 +54,4 @@ def ok(self) -> None:

def help(self) -> None:
"""Handle Help button press."""
show_help()
show_help_for_default_model_dialog()
10 changes: 10 additions & 0 deletions src/gui/dialogs/help_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,13 @@ def show_help_for_data_collection_dialog() -> None:
("help text", None),
]
HelpDialog(None, help_text=help_text)


def show_help_for_default_model_dialog() -> None:
"""Display help for default model dialog."""
help_text: list[tuple[str, Optional[str]]] = [
("<h1>", "Road core service configuration editor"),
("<h2>", "Default model dialog"),
("help text", None),
]
HelpDialog(None, help_text=help_text)

0 comments on commit aef8062

Please sign in to comment.