Commit c2a1aa09 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix bin thumbnail hover seek not reset when leaving thumb area

parent a644d42c
Pipeline #88079 canceled with stage
...@@ -663,6 +663,11 @@ void MyTreeView::mouseMoveEvent(QMouseEvent *event) ...@@ -663,6 +663,11 @@ void MyTreeView::mouseMoveEvent(QMouseEvent *event)
} }
m_lastHoveredItem = index; m_lastHoveredItem = index;
} }
} else {
if (m_lastHoveredItem.isValid()) {
emit displayBinFrame(m_lastHoveredItem, -1);
m_lastHoveredItem = QModelIndex();
}
} }
pCore->window()->showKeyBinding(i18n("<b>Shift+seek</b> over thumbnail to set default thumbnail, <b>F2</b> to rename selected item")); pCore->window()->showKeyBinding(i18n("<b>Shift+seek</b> over thumbnail to set default thumbnail, <b>F2</b> to rename selected item"));
} else { } else {
......
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