Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Settings tab to handle different pins #238

Merged
merged 14 commits into from
May 30, 2024
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