User Dialog Message to the export resaults
This commit is contained in:
parent
11b4101c58
commit
af10a074c0
1 changed files with 13 additions and 1 deletions
|
@ -294,5 +294,17 @@ void MainScreen::on_actionHow_To_triggered()
|
||||||
|
|
||||||
void MainScreen::on_pushButton_2_clicked()
|
void MainScreen::on_pushButton_2_clicked()
|
||||||
{
|
{
|
||||||
CSV_Exporter::exportCalendar(this->calendar->getSch());
|
if(CSV_Exporter::exportCalendar(this->calendar->getSch()))
|
||||||
|
{
|
||||||
|
QMessageBox msgBox;
|
||||||
|
msgBox.setText("<center>Exported Successfuly!<br><b>HaazZaA!!");
|
||||||
|
msgBox.exec();
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
QMessageBox msgBox;
|
||||||
|
msgBox.setIcon(QMessageBox::Critical);
|
||||||
|
msgBox.setText("<center>Something went wrong...<br></center>Maybe: <ul><li>You Canceled</li><li>Unable to save the File - try again</li></ul><br><br>"
|
||||||
|
"<b><center>In case of a serious problem, please file a bug report.<br>thank you. OpenJCE teem");
|
||||||
|
msgBox.exec();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue