From 15e2fb00ada6f3e348aed3e146a6b08d8492ee3e Mon Sep 17 00:00:00 2001 From: lsv Date: Wed, 18 Mar 2026 09:09:34 +0500 Subject: [PATCH] fix for linux --- include/utils/popuphelp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/utils/popuphelp.h b/include/utils/popuphelp.h index 0a7517b..532c4c3 100644 --- a/include/utils/popuphelp.h +++ b/include/utils/popuphelp.h @@ -202,7 +202,10 @@ public: wxDataObjectComposite* dataobj = new wxDataObjectComposite(); dataobj->Add(new wxHTMLDataObject(h)); wxTheClipboard->SetData(dataobj); - wxTheClipboard->Close(); + // fix for linux app crush + wxSafeYield(); + wxTheClipboard->Close(); // crush app without wxSafeYield(); + } else {