Skip to content

Commit

Permalink
Merge pull request #28 from tisnik/help-dialog-default-provider
Browse files Browse the repository at this point in the history
Help dialog for default provider
  • Loading branch information
tisnik authored Feb 7, 2025
2 parents aef8062 + 46dd614 commit 660e99b
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_provider_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_provider_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_provider_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 @@ -123,3 +123,13 @@ def show_help_for_default_model_dialog() -> None:
("help text", None),
]
HelpDialog(None, help_text=help_text)


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

0 comments on commit 660e99b

Please sign in to comment.