mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
When changing the selection, the currently shown file item should be reset. This fixes the issue that changing the selection with the keyboard might not have an effect if an item is hovered with the mouse.
BUG: 210177 svn path=/trunk/KDE/kdebase/apps/; revision=1070745
This commit is contained in:
parent
4fdc3bad9c
commit
ef3b7d8991
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ void InformationPanel::setSelection(const KFileItemList& selection)
|
|||
}
|
||||
|
||||
m_selection = selection;
|
||||
m_fileItem = KFileItem();
|
||||
|
||||
const int count = selection.count();
|
||||
if (count == 0) {
|
||||
|
|
Loading…
Reference in a new issue