Skip to content

Commit

Permalink
temp bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelvasev committed May 24, 2015
1 parent 780450b commit 497fbbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/qtcore.js
Expand Up @@ -2840,8 +2840,9 @@ function QMLRepeater(meta) {
self.$items.splice(index, 0, newItem);

newItem.index = index;

if (engine.operationState !== QMLOperationState.Init) {

// TODO debug this. Without check to Init, Completed sometimes called twice.. But is this check correct?
if (engine.operationState !== QMLOperationState.Init && engine.operationState !== QMLOperationState.Idle) {
// We don't call those on first creation, as they will be called
// by the regular creation-procedures at the right time.
engine.$initializePropertyBindings();
Expand Down

0 comments on commit 497fbbd

Please sign in to comment.