~dubstar-04/ubuntu-calendar-app/icsSupport

« back to all changes in this revision

Viewing changes to TimeLineBaseComponent.qml

  • Committer: Tarmac
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2016-05-02 21:50:44 UTC
  • mfrom: (829.2.4 fix-1570928)
  • Revision ID: tarmac-20160502215044-edut4muveq23oig7
Disable auto-update during the sync.
Force model update after filter change if model autoUpdate is set to false.

Approved by Arthur Mello, Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
        repeat: false
179
179
        onTriggered: {
180
180
            mainModel.filter = Qt.binding(function() { return root.modelFilter} )
 
181
            if (!mainModel.autoUpdate) {
 
182
                mainModel.update()
 
183
            }
181
184
        }
182
185
    }
183
186
 
198
201
        onEndPeriodChanged: idleRefresh.reset()
199
202
   }
200
203
 
201
 
    ActivityIndicator {
202
 
        id: activityLoader
203
 
        objectName : "activityIndicator"
204
 
 
205
 
        visible: running
206
 
        anchors.centerIn: parent
207
 
        //running: mainModel.isLoading
208
 
        z:2
209
 
    }
210
 
 
211
204
    Column {
212
205
        anchors.fill: parent
213
206