mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-30 23:02:39 -06:00
GridCtrl: Selection fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15638 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0dd3437d4c
commit
977836dfaa
2 changed files with 4 additions and 0 deletions
|
|
@ -4604,6 +4604,8 @@ void GridCtrl::ClearRow(int r, int column_offset)
|
|||
void GridCtrl::Clear(bool columns)
|
||||
{
|
||||
doscroll = false;
|
||||
|
||||
anchor = Null;
|
||||
|
||||
UpdateCtrls(UC_HIDE | UC_CTRLS);
|
||||
|
||||
|
|
|
|||
|
|
@ -260,6 +260,8 @@ void GridCtrl::ClearSelection()
|
|||
items[i][j].Select(0);
|
||||
}
|
||||
|
||||
anchor = Null;
|
||||
|
||||
Refresh();
|
||||
selected_rows = 0;
|
||||
selected_items = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue