From 15d714588f4919e68ad91864787057525281959b Mon Sep 17 00:00:00 2001 From: Ivan Lebedev Date: Sun, 29 Mar 2026 10:58:34 +0100 Subject: [PATCH] fix: Open Qt Creator settings delayed from `ChatRootView` (#332) fix: Opens settings delayed Co-authored-by: Ivan Lebedev --- ChatView/ChatRootView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ChatView/ChatRootView.cpp b/ChatView/ChatRootView.cpp index 43fc598..158e8d1 100644 --- a/ChatView/ChatRootView.cpp +++ b/ChatView/ChatRootView.cpp @@ -750,7 +750,10 @@ void ChatRootView::openRulesFolder() void ChatRootView::openSettings() { - Settings::showSettings(Constants::QODE_ASSIST_CHAT_ASSISTANT_SETTINGS_PAGE_ID); + QMetaObject::invokeMethod( + this, + []() { Settings::showSettings(Constants::QODE_ASSIST_CHAT_ASSISTANT_SETTINGS_PAGE_ID); }, + Qt::QueuedConnection); } void ChatRootView::openFileInEditor(const QString &filePath)