Add UI thread invokers for all windows

* This is necessary as they expect to be run on the UI thread, but can be
  fetched from python scripts running on the python script thread. We block
  invoke over to the UI and suspend python's GIL to avoid deadlocks.
This commit is contained in:
baldurk
2026-08-13 17:46:46 +01:00
parent db75eec620
commit e3b0fa0a24
7 changed files with 1844 additions and 1262 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ private slots:
private:
Ui::PythonShell *ui;
ICaptureContext &m_Ctx;
CaptureContextInvoker *m_ThreadCtx = NULL;
ICaptureContext *m_ThreadCtx = NULL;
ScintillaEdit *runningScriptEditor = NULL;