Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
4d15ef11
Unverified
Commit
4d15ef11
authored
Sep 04, 2022
by
Carl Schwan
🚴
Browse files
Fix saving last view to mail
Signed-off-by:
Carl Schwan
<
carl@carlschwan.eu
>
parent
84a8c1bc
Pipeline
#227071
passed with stage
in 3 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kalendarapplication.cpp
View file @
4d15ef11
...
...
@@ -181,7 +181,7 @@ void KalendarApplication::setupActions()
mailAction
->
setActionGroup
(
m_viewGroup
);
connect
(
mailAction
,
&
QAction
::
toggled
,
this
,
[](
bool
checked
)
{
if
(
checked
)
{
KalendarConfig
::
setLastOpenedView
(
KalendarConfig
::
ThreeDay
View
);
KalendarConfig
::
setLastOpenedView
(
KalendarConfig
::
Mail
View
);
KalendarConfig
::
self
()
->
save
();
}
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment