aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-02-03 23:05:53 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-03 23:05:53 +0100
commit5f43d03b050ce303853f22cee6e1a23f9e1b1ffc (patch)
treebf643fe51dfe5616b4ddefee1a4b271b4ec141f4
parent763ca346c72f0c2b172301adc0515cd5d80690cb (diff)
xxcc.cpp: Focus chat input
-rw-r--r--xxcc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xxcc.cpp b/xxcc.cpp
index 760fd12..2585608 100644
--- a/xxcc.cpp
+++ b/xxcc.cpp
@@ -114,6 +114,7 @@ xxcc::xxcc(QWidget *const parent) :
ui.sw->setCurrentIndex(Tab::Chat);
ui.jid->setText(conv->to);
ui.messages->scrollToBottom();
+ ui.chatinput->setFocus();
});
connect(ui.messages->model(), &QAbstractItemModel::rowsInserted,