mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-18 04:38:29 +00:00
do not invalidate sorting when scrolling at the end of the list #LINQT-2468
fix contact edition address field width fix share link button typo #LINQT-2496 clear chat message search filter when search bar hidden #LINQT-2494
This commit is contained in:
parent
1d69107494
commit
7efdef4557
4 changed files with 6 additions and 3 deletions
|
|
@ -127,7 +127,7 @@ void LimitProxy::setMaxDisplayItems(int maxItems) {
|
|||
emit maxDisplayItemsChanged();
|
||||
|
||||
if (model && getDisplayCount(modelCount) != oldCount) {
|
||||
invalidate();
|
||||
invalidateFilter();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ Button {
|
|||
id: textItem
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
Layout.preferredWidth: textMetrics.advanceWidth
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WrapAnywhere
|
||||
text: mainItem.text
|
||||
|
|
|
|||
|
|
@ -238,7 +238,10 @@ FocusScope {
|
|||
columns: mainItem.call ? 1 : children.length
|
||||
rows: 1
|
||||
onVisibleChanged: {
|
||||
if(!visible) chatMessagesSearchBar.clearText()
|
||||
if(!visible) {
|
||||
chatMessagesSearchBar.clearText()
|
||||
chatMessagesListView.filterText = ""
|
||||
}
|
||||
else chatMessagesSearchBar.forceActiveFocus()
|
||||
}
|
||||
columnSpacing: Utils.getSizeWithScreenRatio(50)
|
||||
|
|
|
|||
|
|
@ -293,6 +293,7 @@ MainRightPanel {
|
|||
}
|
||||
delegate: FormItemLayout {
|
||||
label: modelData.label
|
||||
Layout.fillWidth: true
|
||||
contentItem: RowLayout {
|
||||
id: addressLayout
|
||||
spacing: Utils.getSizeWithScreenRatio(10)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue