Update inputManager.py
This commit is contained in:
parent
5063362dbc
commit
47a5b1d3fb
@ -145,8 +145,11 @@ class inputManager():
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
self.setExecuteDeviceGrab()
|
self.setExecuteDeviceGrab()
|
||||||
if newDevice:
|
try:
|
||||||
self.handleDeviceGrab()
|
if self.env['runtime']['screenManager']:
|
||||||
|
self.handleDeviceGrab()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
def removeAllDevices(self):
|
def removeAllDevices(self):
|
||||||
try:
|
try:
|
||||||
self.env['runtime']['inputDriver'].removeAllDevices()
|
self.env['runtime']['inputDriver'].removeAllDevices()
|
||||||
|
Loading…
Reference in New Issue
Block a user