diff --git a/app/ui/main_app_window.py b/app/ui/main_app_window.py index 2f6e182f..f789af13 100644 --- a/app/ui/main_app_window.py +++ b/app/ui/main_app_window.py @@ -377,7 +377,7 @@ class Application(Gtk.Application): def init_profiles(self, profile=None): self.update_profiles() - self._profile_combo_box.set_active_id(profile if profile else self._settings.default_profile) + self._profile_combo_box.set_active_id(profile if profile else self._settings.current_profile) if profile: self.set_profile(profile) diff --git a/app/ui/uicommons.py b/app/ui/uicommons.py index fbc0e85d..bea3dc4d 100644 --- a/app/ui/uicommons.py +++ b/app/ui/uicommons.py @@ -61,6 +61,7 @@ def get_yt_icon(icon_name, size=24): class KeyboardKey(Enum): """ The raw(hardware) codes of the keyboard keys. """ + E = 26 R = 27 T = 28 P = 33