Fix setting password GtkEntry text to NULL
authorSam Thursfield <samthursfield@codethink.co.uk>
Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)
committerSam Thursfield <samthursfield@codethink.co.uk>
Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)
src/moonshot-window.vala

index 0b8bd83..c9244a5 100644 (file)
@@ -165,7 +165,7 @@ class MainWindow : Window
     {
        var id_card = id_card_widget.id_card;
        this.username_entry.set_text (id_card.username);
-       this.password_entry.set_text (id_card.password);
+       this.password_entry.set_text (id_card.password ?? "");
 
        var children = this.services_internal_vbox.get_children ();
        foreach (var hbox in children)