Skip to content

Commit

Permalink
Fix bug in Bulk Operations dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed Jul 18, 2016
1 parent 633281f commit bbe0a1f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/resources/qml/bulk-operations/BulkOperationsDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ Dialog {
standardButtons: StandardButton.NoButton

function loadKeys() {
bulkOperations.getAffectedKeys()
uiBlocker.visible = true

bulkOperations.getAffectedKeys()
}

onVisibleChanged: {
if (visible == false) {
bulkOperations.clearOperation();
} else {
bulkOperations.getAffectedKeys();
if (!uiBlocker.visible) {
loadKeys();
}
}
}

Expand Down Expand Up @@ -173,6 +174,7 @@ Dialog {
target: bulkOperations

onAffectedKeys: {
console.log("Affected keys loaded")
affectedKeysListView.model = r
uiBlocker.visible = false
}
Expand Down

0 comments on commit bbe0a1f

Please sign in to comment.