mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-07-10 21:01:52 +02:00
minor fix
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user