some fixes
This commit is contained in:
parent
97fea5e692
commit
1ed998a9b3
1 changed files with 0 additions and 7 deletions
|
@ -171,11 +171,6 @@ Kirigami.ScrollablePage
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
if (filter.text != "") {
|
if (filter.text != "") {
|
||||||
view.model.setConversationsFilterRole(ConversationListModel.AddressesRole)
|
view.model.setConversationsFilterRole(ConversationListModel.AddressesRole)
|
||||||
if (conversationListModel.isAddressValid(filter.text)) {
|
|
||||||
newButton.enabled = true
|
|
||||||
} else {
|
|
||||||
newButton.enabled = false
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
view.model.setConversationsFilterRole(ConversationListModel.ConversationIdRole)
|
view.model.setConversationsFilterRole(ConversationListModel.ConversationIdRole)
|
||||||
}
|
}
|
||||||
|
@ -218,8 +213,6 @@ Kirigami.ScrollablePage
|
||||||
conversationListModel.createConversationForAddress(filter.text)
|
conversationListModel.createConversationForAddress(filter.text)
|
||||||
view.currentIndex = 0
|
view.currentIndex = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
filter.enabled = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
|
|
Loading…
Reference in a new issue