Kaydet (Commit) 6a223ad5 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky Kaydeden (comit) Caolán McNamara

tdf#93407 GrabFocus during dispose

Reproduced with the gen vclplug

Change-Id: Ia8a5c73908f5af47ef55b4431b6e1e5a21609e7d
(cherry picked from commit b556f14f)
Reviewed-on: https://gerrit.libreoffice.org/17705Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst bb7800ca
......@@ -184,9 +184,9 @@ void LineWidthControl::Initialize()
void LineWidthControl::GetFocus()
{
if(!mbVSFocus)
if (!mbVSFocus && maMFWidth)
maMFWidth->GrabFocus();
else
else if (maVSWidth)
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