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

Another GrabFocus during dispose

Change-Id: I89f8aa5e087e95c96d63695be0ec4e9b4fbe0a0c
(cherry picked from commit 4622823a)
Reviewed-on: https://gerrit.libreoffice.org/17706Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 6a223ad5
...@@ -96,14 +96,10 @@ void CellLineStyleControl::Initialize() ...@@ -96,14 +96,10 @@ void CellLineStyleControl::Initialize()
void CellLineStyleControl::GetFocus() void CellLineStyleControl::GetFocus()
{ {
if(!mbVSfocus) if (!mbVSfocus && maPushButtonMoreOptions)
{
maPushButtonMoreOptions->GrabFocus(); maPushButtonMoreOptions->GrabFocus();
} else if (maCellLineStyleValueSet)
else
{
maCellLineStyleValueSet->GrabFocus(); maCellLineStyleValueSet->GrabFocus();
}
} }
void CellLineStyleControl::SetAllNoSel() void CellLineStyleControl::SetAllNoSel()
......
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