mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 22:02:44 -06:00
DropGrid: Fixed crashing on drop down
git-svn-id: svn://ultimatepp.org/upp/trunk@3803 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ff8e54762d
commit
c3d35782a9
1 changed files with 4 additions and 0 deletions
|
|
@ -833,8 +833,12 @@ void DropGrid::Change(int dir)
|
|||
|
||||
void DropGrid::SearchCursor()
|
||||
{
|
||||
if(!list.IsCursor())
|
||||
return;
|
||||
|
||||
if(trowid < -1)
|
||||
trowid = rowid;
|
||||
|
||||
value = list.Get(value_col);
|
||||
rowid = list.GetRowId();
|
||||
Refresh();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue