changeset 33 | 3e2da88830cd |
parent 30 | 5dc02b23752f |
child 37 | 758a864f9613 |
--- a/examples/tutorials/addressbook/part3/addressbook.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/examples/tutorials/addressbook/part3/addressbook.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -125,6 +125,7 @@ if (name == "" || address == "") { QMessageBox::information(this, tr("Empty Field"), tr("Please enter a name and address.")); + return; } if (!contacts.contains(name)) {