Add @pyqtSlot for qApp.focusChanged slot
This commit is contained in:
parent
2d5ffbfd02
commit
4807746e8f
@ -340,6 +340,7 @@ def _save_version():
|
|||||||
state_config['general']['version'] = qutebrowser.__version__
|
state_config['general']['version'] = qutebrowser.__version__
|
||||||
|
|
||||||
|
|
||||||
|
@pyqtSlot('QWidget*', 'QWidget*')
|
||||||
def on_focus_changed(_old, new):
|
def on_focus_changed(_old, new):
|
||||||
"""Register currently focused main window in the object registry."""
|
"""Register currently focused main window in the object registry."""
|
||||||
if new is None:
|
if new is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user