mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-03-31 01:42:56 -04:00
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:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user