commit 2cd2a7e6f007ed312508e4694d2831bb48fe9638
parent a7212d7d28006eb1ce718e0df50bcdcca44e1b66
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 24 Oct 2017 04:48:22 -0400
listview: fix row removal affecting clearing queued actions in browser's queued tab (v1.2rc1 regression)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/listview.cpp b/src/listview.cpp
@@ -131,6 +131,8 @@ void ListView::removeRow(const int userIndex)
ListView_DeleteItem(handle(), viewIndex);
m_rows.erase(m_rows.begin() + userIndex);
+
+ reindexVisible(); // do it now so further removeRow will work as expected
}
void ListView::resizeColumn(const int index, const int width)