From 1ed998a9b3e638b22a2a97fa3eca73a9a59d80c6 Mon Sep 17 00:00:00 2001 From: Aniket Kumar Date: Thu, 23 Apr 2020 07:42:36 +0530 Subject: [PATCH] some fixes --- smsapp/qml/ConversationList.qml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/smsapp/qml/ConversationList.qml b/smsapp/qml/ConversationList.qml index 7dbe5a3a1..3c1dffd9c 100644 --- a/smsapp/qml/ConversationList.qml +++ b/smsapp/qml/ConversationList.qml @@ -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 {