Skip to content

Commit fac2dff

Browse files
committed
passwordEntry: Always set a layout source.
1 parent adb4a1e commit fac2dff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/passwordEntry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ def on_current_layout_changed(self, cinnamon):
174174
self.update_layout_icon()
175175

176176
def on_layout_sources_changed(self, cinnamon):
177-
if not self.cinnamon.has_multiple_keyboard_layouts():
178-
return
179-
180177
self.system_layout_source = self.cinnamon.get_current_layout_source()
181178
self.lockscreen_layout_source = self.system_layout_source
182179

180+
if not self.cinnamon.has_multiple_keyboard_layouts():
181+
return
182+
183183
self.set_lockscreen_keyboard_layout()
184184

185185
def on_icon_pressed(self, entry, icon_pos, event):

0 commit comments

Comments
 (0)