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

fix: Opens settings delayed

Co-authored-by: Ivan Lebedev <ilebedev1988@gmail.com>
This commit is contained in:
Ivan Lebedev
2026-03-29 10:58:34 +01:00
committed by GitHub
parent 9a2ba08538
commit 15d714588f

View File

@ -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)