mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 18:11:35 -06:00
4.63
This commit is contained in:
committed by
Kornel Lesiński
parent
c1f1243a70
commit
3a524e5ba2
@@ -572,7 +572,8 @@ void CPanel::OpenSelectedItems(bool tryInternal)
|
||||
if (focusedItem >= 0)
|
||||
{
|
||||
int realIndex = GetRealItemIndex(focusedItem);
|
||||
if (realIndex == kParentIndex && (tryInternal || indices.Size() == 0))
|
||||
if (realIndex == kParentIndex && (tryInternal || indices.Size() == 0) &&
|
||||
_listView.GetItemState(focusedItem, LVIS_SELECTED) == LVIS_SELECTED)
|
||||
indices.Insert(0, realIndex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user