Skip to content

Commit bbe0a1f

Browse files
committed
Fix bug in Bulk Operations dialog
1 parent 633281f commit bbe0a1f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/resources/qml/bulk-operations/BulkOperationsDialog.qml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ Dialog {
1313
standardButtons: StandardButton.NoButton
1414

1515
function loadKeys() {
16-
bulkOperations.getAffectedKeys()
1716
uiBlocker.visible = true
18-
17+
bulkOperations.getAffectedKeys()
1918
}
2019

2120
onVisibleChanged: {
2221
if (visible == false) {
2322
bulkOperations.clearOperation();
2423
} else {
25-
bulkOperations.getAffectedKeys();
24+
if (!uiBlocker.visible) {
25+
loadKeys();
26+
}
2627
}
2728
}
2829

@@ -173,6 +174,7 @@ Dialog {
173174
target: bulkOperations
174175

175176
onAffectedKeys: {
177+
console.log("Affected keys loaded")
176178
affectedKeysListView.model = r
177179
uiBlocker.visible = false
178180
}

0 commit comments

Comments
 (0)