~artmello/ubuntu-calendar-app/ubuntu-calendar-app-fix_1556946

« back to all changes in this revision

Viewing changes to calendar.qml

Add lunar calendar support. Fixes: https://bugs.launchpad.net/bugs/1513099.

Approved by Jenkins Bot, Alan Pope .

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    id: mainView
27
27
 
28
28
    property bool displayWeekNumber: false;
 
29
    property bool displayLunarCalendar: false;
29
30
 
30
31
    // Work-around until this branch lands:
31
32
    // https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/optIn-tabsDrawer/+merge/212496
382
383
                tabs.isReady = true
383
384
            } // End of Component.onCompleted:
384
385
 
385
 
 
386
386
            Keys.onTabPressed: {
387
387
                if( event.modifiers & Qt.ControlModifier) {
388
388
                    var currentTab = tabs.selectedTabIndex;