[Libreoffice-commits] core.git: sc/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 8 09:00:23 UTC 2021


 sc/source/ui/navipi/navipi.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit bc5a0676fa107bdad6e860d31a874de4eae2d8ba
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Mar 7 19:43:42 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Mar 8 09:59:41 2021 +0100

    default to 'contents' hidden until toggled to floating mode
    
    Change-Id: Iff671e9f8d0a41d4ed83f8fe05b70998558590b0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112145
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 170c14308c9f..6fea222a7938 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -346,6 +346,8 @@ ScNavigatorDlg::ScNavigatorDlg(SfxBindings* pB, vcl::Window* pParent)
 {
     set_id("NavigatorPanelParent"); // for uitests
 
+    m_xTbxCmd1->set_item_visible("contents", false); // start off hidden, show if made floating
+
     UpdateSheetLimits();
     m_xEdRow->set_width_chars(5);
     //max rows is 1,000,000, which is too long for typical use


More information about the Libreoffice-commits mailing list