mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 12:11:34 -06:00
4.23
This commit is contained in:
committed by
Kornel Lesiński
parent
3c510ba80b
commit
ac2b563958
@@ -297,7 +297,7 @@ void CPanel::RefreshListCtrl(const UString &focusedName, int focusedPos,
|
||||
|
||||
_listView.DeleteAllItems();
|
||||
_selectedStatusVector.Clear();
|
||||
_realIndices.Clear();
|
||||
// _realIndices.Clear();
|
||||
_startGroupSelect = 0;
|
||||
|
||||
_selectionIsDefined = false;
|
||||
@@ -511,6 +511,27 @@ void CPanel::GetOperatedItemIndices(CRecordVector<UINT32> &indices) const
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
void CPanel::GetOperatedListViewIndices(CRecordVector<UInt32> &indices) const
|
||||
{
|
||||
indices.Clear();
|
||||
int numItems = _listView.GetItemCount();
|
||||
for (int i = 0; i < numItems; i++)
|
||||
{
|
||||
int realIndex = GetRealItemIndex(i);
|
||||
if (realIndex >= 0)
|
||||
if (_selectedStatusVector[realIndex])
|
||||
indices.Add(i);
|
||||
}
|
||||
if (indices.IsEmpty())
|
||||
{
|
||||
int focusedItem = _listView.GetFocusedItem();
|
||||
if (focusedItem >= 0)
|
||||
indices.Add(focusedItem);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
void CPanel::EditItem()
|
||||
{
|
||||
int focusedItem = _listView.GetFocusedItem();
|
||||
|
||||
Reference in New Issue
Block a user