aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_selector
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-04-18 22:38:16 +0200
committerfiaxh <git@lightrise.org>2019-04-24 23:44:00 +0200
commitcbe0ff2c1d6eb86520fdba05183f33cd4f262bcd (patch)
treed127686d9b996f4bd4f03e404291cd5cec3bbe14 /main/src/ui/conversation_selector
parenta960740c3e88a16d5c7e10ff8594475d95894721 (diff)
downloaddino-cbe0ff2c1d6eb86520fdba05183f33cd4f262bcd.tar.gz
dino-cbe0ff2c1d6eb86520fdba05183f33cd4f262bcd.zip
Don't move opened conversation to the top of the list, scroll along with selected conversation
fixes #544
Diffstat (limited to 'main/src/ui/conversation_selector')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector.vala b/main/src/ui/conversation_selector/conversation_selector.vala
index d795120b..dd264206 100644
--- a/main/src/ui/conversation_selector/conversation_selector.vala
+++ b/main/src/ui/conversation_selector/conversation_selector.vala
@@ -68,6 +68,7 @@ public class ConversationSelector : ListBox {
if (!rows.has_key(conversation)) {
add_conversation(conversation);
}
+ rows[conversation].grab_focus();
this.select_row(rows[conversation]);
}