~pkunal-parmar/ubuntu-calendar-app/DetailsView

« back to all changes in this revision

Viewing changes to EventDetails.qml

  • Committer: Kunal Parmar
  • Date: 2013-03-31 04:56:58 UTC
  • Revision ID: pkunal.parmar@gmail.com-20130331045658-f1drt5gz8r57vz74
Broken layout fixes, due to new pagestack changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    anchors.margins: units.gu(2)
15
15
 
16
16
    Component.onCompleted: {
17
 
        pageStack.header.visible = false;
 
17
        if( pageStack.header )
 
18
            pageStack.header.visible = false;
18
19
        showEvent(event);
19
20
    }
20
21
 
21
22
    Component.onDestruction: {
22
 
        pageStack.header.visible = true;
 
23
        if( pageStack.header )
 
24
            pageStack.header.visible = true;
23
25
    }
24
26
 
25
27
    function showEvent(e) {