mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
GridCtrl: Fixed crash when selecting cell/row in combination with RowChanging(false)
git-svn-id: svn://ultimatepp.org/upp/trunk@3473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b6e804f594
commit
5ec8974ff3
1 changed files with 3 additions and 0 deletions
|
|
@ -3271,7 +3271,10 @@ GridCtrl::CurState GridCtrl::SetCursor0(Point p, int opt, int dirx, int diry)
|
|||
{
|
||||
CurState cs;
|
||||
if(!row_changing)
|
||||
{
|
||||
cs.valid = false;
|
||||
return cs;
|
||||
}
|
||||
|
||||
bool mouse = opt & CU_MOUSE;
|
||||
bool highlight = opt & CU_HIGHLIGHT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue