diff --git a/main/mainscreen.cpp b/main/mainscreen.cpp index 8e4bca3..b7f4d6b 100644 --- a/main/mainscreen.cpp +++ b/main/mainscreen.cpp @@ -294,5 +294,17 @@ void MainScreen::on_actionHow_To_triggered() void MainScreen::on_pushButton_2_clicked() { - CSV_Exporter::exportCalendar(this->calendar->getSch()); + if(CSV_Exporter::exportCalendar(this->calendar->getSch())) + { + QMessageBox msgBox; + msgBox.setText("
Exported Successfuly!
HaazZaA!!"); + msgBox.exec(); + }else + { + QMessageBox msgBox; + msgBox.setIcon(QMessageBox::Critical); + msgBox.setText("
Something went wrong...
Maybe:

" + "
In case of a serious problem, please file a bug report.
thank you. OpenJCE teem"); + msgBox.exec(); + } }