Skip to content

Commit

Permalink
Merge pull request #238 from Nitrokey/settings
Browse files Browse the repository at this point in the history
Add Settings tab to handle different pins
  • Loading branch information
daringer authored May 30, 2024
2 parents a387a58 + 628a965 commit 9239eda
Show file tree
Hide file tree
Showing 4 changed files with 1,166 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nitrokeyapp/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from nitrokeyapp.prompt_box import PromptBox
from nitrokeyapp.qt_utils_mix_in import QtUtilsMixIn
from nitrokeyapp.secrets_tab import SecretsTab
from nitrokeyapp.settings_tab import SettingsTab
from nitrokeyapp.touch import TouchIndicator

# import wizards and stuff
Expand Down Expand Up @@ -91,8 +92,13 @@ def __init__(self, qt_app: QtWidgets.QApplication, log_file: str):

self.overview_tab = OverviewTab(self)
self.secrets_tab = SecretsTab(self)
self.settings_tab = SettingsTab(self)

self.views: list[DeviceView] = [self.overview_tab, self.secrets_tab]
self.views: list[DeviceView] = [
self.overview_tab,
self.secrets_tab,
self.settings_tab,
]
for view in self.views:
if view.worker:

Expand Down
Loading

0 comments on commit 9239eda

Please sign in to comment.