mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Reverted SetFocus changes
git-svn-id: svn://ultimatepp.org/upp/trunk@1276 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7a38279216
commit
fd4de7e0ec
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ void DropGrid::PopUpGrid::PopUp(Ctrl *owner, const Rect &r)
|
|||
Close();
|
||||
SetRect(r);
|
||||
Ctrl::PopUp(owner, true, true, GUI_DropShadows());
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
void DropGrid::PopUpGrid::CloseNoData()
|
||||
|
|
@ -94,6 +95,7 @@ void DropGrid::Close()
|
|||
Rect r = list.GetRect();
|
||||
list_width = r.Width();
|
||||
list_height = r.Height();
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
void DropGrid::CloseData()
|
||||
|
|
@ -652,6 +654,7 @@ MultiButton::SubButton& DropGrid::GetButton(int n)
|
|||
void DropGrid::DoClearValue()
|
||||
{
|
||||
ClearValue();
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
void DropGrid::ClearValue()
|
||||
|
|
@ -664,6 +667,7 @@ void DropGrid::ClearValue()
|
|||
UpdateActionRefresh();
|
||||
else
|
||||
UpdateRefresh();
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
void DropGrid::Reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue