inspector: Set only_if_normal=True for modeman.enter when clicked
So we don't e.g. switch from passthrough to insert mode when the inspector is clicked.
This commit is contained in:
parent
6e9f24bc80
commit
64d3c04d4d
|
|
@ -99,7 +99,7 @@ class _EventFilter(QObject):
|
|||
"""Enter insert mode if the inspector is clicked."""
|
||||
if event.type() == QEvent.MouseButtonPress:
|
||||
modeman.enter(self._win_id, usertypes.KeyMode.insert,
|
||||
reason='Inspector clicked')
|
||||
reason='Inspector clicked', only_if_normal=True)
|
||||
return False
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue