diff options
-rw-r--r-- | src/contacts-window.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/contacts-window.vala b/src/contacts-window.vala index 4e11ac4..f74a5a7 100644 --- a/src/contacts-window.vala +++ b/src/contacts-window.vala @@ -293,6 +293,9 @@ public class Contacts.Window : Gtk.ApplicationWindow { [GtkCallback] public void new_contact () { + if (this.state == UiState.UPDATING || this.state == UiState.CREATING) + return; + this.state = UiState.CREATING; this.right_header.title = _("New Contact"); |