BUG: TypeError when using F12 hotkey - invokeMethod syntax was wrong for PyQt6. FIX: 1. Added hotkey_triggered = pyqtSignal() at class level 2. Connected signal to _scan_page_for_multi in initialize() 3. _hotkey_scan() now just emits the signal (thread-safe) 4. Signal ensures scan runs on main Qt thread This is the proper Qt way to handle cross-thread communication. The hotkey callback runs in keyboard library's thread, but the scan must run in Qt's main thread to update UI safely. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| plugin.py | ||