diff options
Diffstat (limited to 'examples/widgets/richtext/orderform/mainwindow.cpp')
-rw-r--r-- | examples/widgets/richtext/orderform/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/widgets/richtext/orderform/mainwindow.cpp b/examples/widgets/richtext/orderform/mainwindow.cpp index 8cd16abb20..4334e8bb71 100644 --- a/examples/widgets/richtext/orderform/mainwindow.cpp +++ b/examples/widgets/richtext/orderform/mainwindow.cpp @@ -225,9 +225,10 @@ void MainWindow::openDialog() { DetailsDialog dialog(tr("Enter Customer Details"), this); - if (dialog.exec() == QDialog::Accepted) + if (dialog.exec() == QDialog::Accepted) { createLetter(dialog.senderName(), dialog.senderAddress(), dialog.orderItems(), dialog.sendOffers()); + } } //! [16] |