Kaydet (Commit) d425cc7c authored tarafından Michael Meeks's avatar Michael Meeks

tdf#90990 - listbox focus issue post dispose.

Change-Id: I091662fed0ebe121d023a1bed1eda79e6eb5a09e
üst 0c3b9679
...@@ -2241,10 +2241,10 @@ void ImplListBox::SetNoSelection() ...@@ -2241,10 +2241,10 @@ void ImplListBox::SetNoSelection()
void ImplListBox::GetFocus() void ImplListBox::GetFocus()
{ {
if (!maLBWindow || maLBWindow->IsDisposed()) if (maLBWindow)
return; maLBWindow->GrabFocus();
else
maLBWindow->GrabFocus(); Control::GetFocus();
} }
vcl::Window* ImplListBox::GetPreferredKeyInputWindow() vcl::Window* ImplListBox::GetPreferredKeyInputWindow()
......
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