Commit f3bdce92 authored by Laurent Montel's avatar Laurent Montel 😁

Reduce check

parent 4f498eff
......@@ -778,7 +778,7 @@ void AlarmDialog::updateButtons()
enableButton( User3, enabled ); // enable Dismiss, if >1 selected
if ( count == 1 ) {
ReminderTreeItem *item = selection.first();
enableButton( User1, (mCalendar->hasRight( item->mIncidence, Akonadi::Collection::CanChangeItem )) && (selection.count() == 1) );
enableButton( User1, (mCalendar->hasRight( item->mIncidence, Akonadi::Collection::CanChangeItem )));
} else {
enableButton( User1, false);
}
......
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