[california] Initialize to activated date when adding w/o quick-add: Bug #732029



commit cf5bd383d246a4a6e186bf6199c6913ee2cfda6b
Author: Jim Nelson <jim yorba org>
Date:   Mon Jun 23 15:38:18 2014 -0700

    Initialize to activated date when adding w/o quick-add: Bug #732029
    
    When the user doesn't supply quick-add details but goes straight
    through to the editor, initialize editor with initial date/time.

 src/host/host-quick-create-event.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/host/host-quick-create-event.vala b/src/host/host-quick-create-event.vala
index be3e33b..e0b33b1 100644
--- a/src/host/host-quick-create-event.vala
+++ b/src/host/host-quick-create-event.vala
@@ -100,7 +100,7 @@ public class QuickCreateEvent : Gtk.Grid, Toolkit.Card {
             // jump to Create/Update dialog and remove this Card from the Deck ... this ensures
             // that if the user presses Cancel in the Create/Update dialog the Deck exits rather
             // than returns here (via jump_home_or_user_closed())
-            jump_to_card_by_name(CreateUpdateEvent.ID, null);
+            jump_to_card_by_name(CreateUpdateEvent.ID, event);
             deck.remove_cards(iterate<Toolkit.Card>(this).to_array_list());
             
             return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]