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
KMail
Commits
c10ceed4
Commit
c10ceed4
authored
Apr 09, 2020
by
David Faure
Browse files
Merge remote-tracking branch 'origin/release/20.04'
parents
c0f3f32c
fa89b943
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kmmainwidget.cpp
View file @
c10ceed4
...
...
@@ -568,8 +568,10 @@ void KMMainWidget::folderSelected(const Akonadi::Collection &col)
void
KMMainWidget
::
slotShowSelectedFolderInPane
()
{
if
(
mCurrentCollection
.
isValid
())
{
QModelIndex
idx
=
Akonadi
::
EntityTreeModel
::
modelIndexForCollection
(
KMKernel
::
self
()
->
entityTreeModel
(),
mCurrentCollection
);
mMessagePane
->
setCurrentFolder
(
mCurrentCollection
,
idx
,
false
,
mPreSelectionMode
);
const
QModelIndex
idx
=
Akonadi
::
EntityTreeModel
::
modelIndexForCollection
(
KMKernel
::
self
()
->
entityTreeModel
(),
mCurrentCollection
);
if
(
idx
.
isValid
())
{
mMessagePane
->
setCurrentFolder
(
mCurrentCollection
,
idx
,
false
,
mPreSelectionMode
);
}
}
updateMessageActions
();
updateFolderMenu
();
...
...
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