add comment
This commit is contained in:
1 parent
9a3778e25f
commit
eaa86cb376
1 file changed
+2
@@ -19,8 +19,10 @@ class command():
|
|||||||
def run(self):
|
def run(self):
|
||||||
# enabled?
|
# enabled?
|
||||||
active = self.env['runtime']['settingsManager'].getSettingAsInt('keyboard', 'charEchoMode')
|
active = self.env['runtime']['settingsManager'].getSettingAsInt('keyboard', 'charEchoMode')
|
||||||
|
# 0 = off
|
||||||
if active == 0:
|
if active == 0:
|
||||||
return
|
return
|
||||||
|
# 2 = caps only
|
||||||
if active == 2:
|
if active == 2:
|
||||||
if not self.env['input']['newCapsLock']:
|
if not self.env['input']['newCapsLock']:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user