Kaydet (Commit) 6036ae61 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#51180 reset (Multi)Selection on Clear()

Change-Id: I06dde63093eab4e5e1c692f6363aca70b89de96a
üst d9d6c67c
......@@ -1149,6 +1149,13 @@ void BrowseBox::Clear()
DoHideCursor( "Clear" );
long nOldRowCount = nRowCount;
nRowCount = 0;
if(bMultiSelection)
{
assert(uRow.pSel);
*uRow.pSel = MultiSelection();
}
else
uRow.nSel = BROWSER_ENDOFSELECTION;
nCurRow = BROWSER_ENDOFSELECTION;
nTopRow = 0;
nCurColId = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment