mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-01-30 20:00:13 -05:00
fix: Add preconditions for windows chat
This commit is contained in:
@ -236,7 +236,7 @@ public:
|
||||
closeChatViewAction.setText(Tr::tr("Close QodeAssist Chat"));
|
||||
closeChatViewAction.setIcon(QCODEASSIST_CHAT_ICON.icon());
|
||||
closeChatViewAction.addOnTriggered(this, [this] {
|
||||
if (m_chatView->isVisible()) {
|
||||
if (m_chatView && m_chatView->isActive() && m_chatView->isVisible()) {
|
||||
m_chatView->close();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user