minor fix

This commit is contained in:
DYefremov
2020-02-13 20:15:18 +03:00
parent 6372ac474c
commit e87be79f42
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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