Unify arguments for on_mode_* slots in Caret
This commit is contained in:
parent
df2c50aa60
commit
be02bfb37d
@ -238,7 +238,7 @@ class AbstractCaret(QObject):
|
||||
modeman.entered.connect(self.on_mode_entered)
|
||||
modeman.left.connect(self.on_mode_left)
|
||||
|
||||
def on_mode_entered(self):
|
||||
def on_mode_entered(self, mode):
|
||||
raise NotImplementedError
|
||||
|
||||
def on_mode_left(self):
|
||||
|
@ -54,7 +54,7 @@ class WebEngineCaret(tab.AbstractCaret):
|
||||
pass
|
||||
|
||||
@pyqtSlot(usertypes.KeyMode)
|
||||
def on_mode_left(self, mode):
|
||||
def on_mode_left(self):
|
||||
## TODO
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user