Unverified Commit 4d15ef11 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Fix saving last view to mail



Signed-off-by: Carl Schwan's avatarCarl Schwan <carl@carlschwan.eu>
parent 84a8c1bc
Pipeline #227071 passed with stage
in 3 minutes and 18 seconds
......@@ -181,7 +181,7 @@ void KalendarApplication::setupActions()
mailAction->setActionGroup(m_viewGroup);
connect(mailAction, &QAction::toggled, this, [](bool checked) {
if (checked) {
KalendarConfig::setLastOpenedView(KalendarConfig::ThreeDayView);
KalendarConfig::setLastOpenedView(KalendarConfig::MailView);
KalendarConfig::self()->save();
}
});
......
Supports Markdown
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