Fix displaying of collapsed archive row.

This commit is contained in:
John Preston 2022-11-23 22:39:20 +01:00
parent f9a14fc6bc
commit 116a598508
2 changed files with 4 additions and 2 deletions

View File

@ -563,7 +563,9 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
const auto promoted = fixedOnTopCount();
const auto reorderingPinned = (_aboveIndex >= 0)
&& !_pinnedRows.empty();
const auto reorderingIndex = promoted + _aboveIndex;
const auto reorderingIndex = reorderingPinned
? (promoted + _aboveIndex)
: -1;
const auto reorderingRow = (reorderingIndex >= 0
&& reorderingIndex < list.size())
? (list.cbegin() + reorderingIndex)->get()

2
cmake

@ -1 +1 @@
Subproject commit bec3e5239285b9ef43e3ca59bc50ae8aa55664bf
Subproject commit 5727743f9a3d3f01b275eb77f39e7a24b9671c4d