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