diff options
Diffstat (limited to 'CPP/7zip/UI/FileManager/PanelItems.cpp')
-rwxr-xr-x | CPP/7zip/UI/FileManager/PanelItems.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CPP/7zip/UI/FileManager/PanelItems.cpp b/CPP/7zip/UI/FileManager/PanelItems.cpp index 90d61b86..17cc3fcb 100755 --- a/CPP/7zip/UI/FileManager/PanelItems.cpp +++ b/CPP/7zip/UI/FileManager/PanelItems.cpp @@ -439,6 +439,7 @@ HRESULT CPanel::RefreshListCtrl(const UString &focusedName, int focusedPos, bool { if (focusedPos >= _listView.GetItemCount()) focusedPos = _listView.GetItemCount() - 1; + // we select item only in showDots mode. SetFocusedSelectedItem(focusedPos, showDots); } // m_RedrawEnabled = true; @@ -484,7 +485,7 @@ void CPanel::GetOperatedItemIndices(CRecordVector<UInt32> &indices) const { int realIndex = GetRealItemIndex(focusedItem); if (realIndex != kParentIndex) - indices.Add(realIndex); + indices.Add(realIndex); } } } |