fix: Open Qt Creator settings delayed from ChatRootView (#332)

fix: Opens settings delayed

Co-authored-by: Ivan Lebedev <[email protected]>
This commit is contained in:
Ivan Lebedev
2026-03-29 11:58:34 +02:00
committed by GitHub
co-authored by Ivan Lebedev
parent 9a2ba08538
commit 15d714588f
+4 -1
View File
@@ -750,7 +750,10 @@ void ChatRootView::openRulesFolder()
void ChatRootView::openSettings() 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) void ChatRootView::openFileInEditor(const QString &filePath)