diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-25 17:38:06 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-25 19:05:12 +0100 |
commit | 08e94616113921dbbbf3bcfe2ec4cee7e28eaf1b (patch) | |
tree | 9c5bad4fa33de5ac6e21fc239994cee1da38460f /src/timeline | |
parent | Implement Qml drag and drop (diff) | |
download | nheko-08e94616113921dbbbf3bcfe2ec4cee7e28eaf1b.tar.xz |
Fix input focus when pressing reply button
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/TimelineViewManager.cpp | 1 |
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()); } } |