Skip to content

Commit 24a5de1

Browse files
committed
Fix issue RedisInsight#3503: Going from page 1 to page 2 in list blocks UI
1 parent cb218c3 commit 24a5de1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/modules/value-editor/valueviewmodel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void ValueEditor::ValueViewModel::loadRows(int start, int count)
8282
if (m_model->isRowLoaded(start)) {
8383
m_startFramePosition = start;
8484
emit layoutAboutToBeChanged();
85+
emit rowsLoaded(start, count);
8586
emit layoutChanged();
8687
return;
8788
}

src/resources/qml/ValueTabs.qml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ Repeater {
203203
color: styleData.textColor
204204
elide: styleData.elideMode
205205
text: styleData.value ? binaryUtils.printable(styleData.value) + (truncated ? '...' : '')
206-
: (styleData.column == 1) ?
207-
"[not loaded from server]" : "--"
206+
: ""
208207
wrapMode: Text.WrapAnywhere
209208
maximumLineCount: 1
210209
}
@@ -245,6 +244,10 @@ Repeater {
245244
valueErrorNotification.text = error
246245
valueErrorNotification.open()
247246
}
247+
248+
onRowsLoaded: {
249+
wrapper.hideLoader()
250+
}
248251
}
249252

250253
MessageDialog {

0 commit comments

Comments
 (0)