Kaydet (Commit) b556f14f authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

tdf#93407 GrabFocus during dispose

Reproduced with the gen vclplug

Change-Id: Ia8a5c73908f5af47ef55b4431b6e1e5a21609e7d
üst 12761ab7
...@@ -179,9 +179,9 @@ void LineWidthControl::Initialize() ...@@ -179,9 +179,9 @@ void LineWidthControl::Initialize()
void LineWidthControl::GetFocus() void LineWidthControl::GetFocus()
{ {
if(!mbVSFocus) if (!mbVSFocus && maMFWidth)
maMFWidth->GrabFocus(); maMFWidth->GrabFocus();
else else if (maVSWidth)
maVSWidth->GrabFocus(); maVSWidth->GrabFocus();
} }
......
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