https://bugs.documentfoundation.org/show_bug.cgi?id=125128

Caolán McNamara <caol...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-b...@lists.free |caol...@redhat.com
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #9 from Caolán McNamara <caol...@redhat.com> ---
The previous code doesn't look right either though. In 6.1

if (m_pPosBox->IsEnabled())
    m_pPosBox->SelectEntryPos(pOpt->GetPos());
else
    m_pPosBox->SelectEntryPos(0);

select position 0 if its disabled, leave it as the default if it is enabled.

Things start off disabled, so its 0 starting off and the option pos is ignored,
but on changing entries the settings are saved, so if you cursor away from the
first entry, then the entry 0 get saved as the default for the next visit.

So on initial visit

tables is disabled and shows "above", enable it and it shows "below". Cancel to
not save changes and revisit

tables is disabled, click on frame, click on table again, it shows "above",
enable it and it sticks as "above". Because the change away from frame and back
to table has saved the "above" position in

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to