Commit 1ed998a9 authored by Aniket Kumar's avatar Aniket Kumar 🤵 Committed by Simon Redman
Browse files

some fixes

parent 97fea5e6
Pipeline #18812 failed with stage
in 2 minutes and 59 seconds
......@@ -171,11 +171,6 @@ Kirigami.ScrollablePage
onTextChanged: {
if (filter.text != "") {
view.model.setConversationsFilterRole(ConversationListModel.AddressesRole)
if (conversationListModel.isAddressValid(filter.text)) {
newButton.enabled = true
} else {
newButton.enabled = false
}
} else {
view.model.setConversationsFilterRole(ConversationListModel.ConversationIdRole)
}
......@@ -218,8 +213,6 @@ Kirigami.ScrollablePage
conversationListModel.createConversationForAddress(filter.text)
view.currentIndex = 0
}
filter.enabled = true
}
Shortcut {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment