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:
Gaelle Braud 2026-04-16 10:48:42 +02:00
parent 1d69107494
commit 7efdef4557
4 changed files with 6 additions and 3 deletions

View file

@ -127,7 +127,7 @@ void LimitProxy::setMaxDisplayItems(int maxItems) {
emit maxDisplayItemsChanged();
if (model && getDisplayCount(modelCount) != oldCount) {
invalidate();
invalidateFilter();
}
}
}

View file

@ -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

View file

@ -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)

View file

@ -293,6 +293,7 @@ MainRightPanel {
}
delegate: FormItemLayout {
label: modelData.label
Layout.fillWidth: true
contentItem: RowLayout {
id: addressLayout
spacing: Utils.getSizeWithScreenRatio(10)