Commit 42d654e1 authored by Allen Winter's avatar Allen Winter

itiphandler.cpp - reset Operation when canceling the publish dialog

parent 1fe8aeee
......@@ -346,6 +346,7 @@ void ITIPHandler::publishInformation(const KCalCore::Incidence::Ptr &incidence,
if (publishdlg->exec() == QDialog::Accepted && publishdlg) {
d->m_scheduler->publish(incidence, publishdlg->addresses());
} else {
d->m_currentOperation = OperationNone;
emit informationPublished(ResultSuccess, QString()); // Canceled.
}
delete publishdlg;
......@@ -416,4 +417,3 @@ Akonadi::CalendarBase::Ptr ITIPHandler::calendar() const
{
return d->m_calendar;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment