diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-01-17 04:05:02 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-01-17 04:05:02 +0100 |
commit | 07e71e6eaedeb8da96c307b88506195317b41a16 (patch) | |
tree | 89eaef28dcd1f413e8e08daaa07a44dc00853bdd /resources/qml/MessageView.qml | |
parent | Merge pull request #379 from LorenDB/fixTypo (diff) | |
download | nheko-07e71e6eaedeb8da96c307b88506195317b41a16.tar.xz |
Fix crash with ScrollView
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index e3222054..0858be83 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -20,9 +20,10 @@ ListView { spacing: 4 verticalLayoutDirection: ListView.BottomToTop onCountChanged: { - // Mark timeline as read + // Mark timeline as read if (atYEnd) model.currentIndex = 0; + } ScrollHelper { |