fix: Throwing focus and hotkeys to QtCreator

This commit is contained in:
Petr Mironychev
2026-05-15 21:27:45 +02:00
parent cc2d42f6d7
commit b1ca6823b8
11 changed files with 129 additions and 26 deletions

View File

@@ -38,18 +38,20 @@ void ChatOutputPane::clearContents()
void ChatOutputPane::visibilityChanged(bool visible)
{
if (visible)
if (visible) {
m_chatWidget->scrollToBottom();
m_chatWidget->focusInput();
}
}
void ChatOutputPane::setFocus()
{
m_chatWidget->setFocus();
m_chatWidget->focusInput();
}
bool ChatOutputPane::hasFocus() const
{
return m_chatWidget->hasFocus();
return m_chatWidget->isChatFocused();
}
bool ChatOutputPane::canFocus() const