summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-11-25 17:38:06 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-11-25 19:05:12 +0100
commit08e94616113921dbbbf3bcfe2ec4cee7e28eaf1b (patch)
tree9c5bad4fa33de5ac6e21fc239994cee1da38460f /src/timeline
parentImplement Qml drag and drop (diff)
downloadnheko-08e94616113921dbbbf3bcfe2ec4cee7e28eaf1b.tar.xz
Fix input focus when pressing reply button
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/TimelineViewManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp
index 866e7c51..d0356e15 100644
--- a/src/timeline/TimelineViewManager.cpp
+++ b/src/timeline/TimelineViewManager.cpp
@@ -336,6 +336,7 @@ TimelineViewManager::setHistoryView(const QString &room_id)
         if (room != models.end()) {
                 timeline_ = room.value().data();
                 emit activeTimelineChanged(timeline_);
+                container->setFocus();
                 nhlog::ui()->info("Activated room {}", room_id.toStdString());
         }
 }