Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/rogallo/screens/main/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ async def download_uri(self, message: DownloadURI) -> None:
title=f"Download {location}",
default_file=Path(location.path).name,
save_button="Download",
cancel_button=partial(add_key, key="Esc", context=self),
)
)
):
Expand Down
4 changes: 4 additions & 0 deletions src/rogallo/widgets/side_panel/client_certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

##############################################################################
# Python imports.
from functools import partial
from itertools import chain
from typing import Final

Expand All @@ -16,6 +17,7 @@
# Textual enhanced imports.
from textual_enhanced.binding import HelpfulBinding
from textual_enhanced.dialogs import Confirm, ModalInput
from textual_enhanced.tools import add_key
from textual_enhanced.widgets import EnhancedOptionList

##############################################################################
Expand Down Expand Up @@ -403,6 +405,7 @@ async def action_export(self) -> None:
else "certificate.pem",
filters=_FILE_FILTERS,
save_button="Export",
cancel_button=partial(add_key, key="Esc", context=self),
)
)
)
Expand All @@ -428,6 +431,7 @@ async def action_import(self) -> None:
filters=_FILE_FILTERS,
open_button="Import",
title="Import Certificate",
cancel_button=partial(add_key, key="Esc", context=self),
)
):
try:
Expand Down
Loading