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

« back to all changes in this revision

Viewing changes to NewEvent.qml

  • Committer: Mihir Soni
  • Date: 2014-10-10 17:49:49 UTC
  • mto: This revision was merged to the branch mainline in revision 497.
  • Revision ID: mihirsoni.123@gmail.com-20141010174949-ornswnk3onjrbdjh
Added new reminder issues & addressed all review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
            }
150
150
        }
151
151
        var reminder = e.detail( Detail.VisualReminder);
152
 
        if( reminder ) {
 
152
        if (reminder) {
153
153
            visualReminder.secondsBeforeStart = reminder.secondsBeforeStart;
 
154
        } else {
 
155
            visualReminder.secondsBeforeStart = reminderModel.get(0).value;
 
156
        }
154
157
 
155
 
        }
156
158
        selectCalendar(e.collectionId);
157
159
    }
158
160
    //Save the new or Existing event
509
511
                    model: root.model.getCollections();
510
512
 
511
513
                    delegate: OptionSelectorDelegate{
512
 
                        text: modelData.name                        
 
514
                        text: modelData.name
513
515
 
514
516
                        UbuntuShape{
515
517
                            id: calColor