summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2024-06-20 17:04:11 -0800
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-07-08 15:48:30 +0200
commitf9c31bf18461d9d713929d74623d964dab8ae1f9 (patch)
tree97cd69be387e7ec7ea94a3484989bcfb237e5611 /svx
parent2b995b4b069843aafe2bea353c0138b8a8aca237 (diff)
tdf#161537 fix Filter Navigator no longer shows the name of the field
Change-Id: I3dae3458ac5795b217743b1e6897345a22f1bf61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169310 Reviewed-by: Jim Raykowski <raykowj@gmail.com> Tested-by: Jenkins (cherry picked from commit c5bbbe987321d8f9e101fab9d67ddbf3d4f8dfca) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169486 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/filtnav.cxx2
-rw-r--r--svx/uiconfig/ui/filternavigator.ui13
2 files changed, 10 insertions, 5 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index 722deefaca35..fe633e9fdd20 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -1061,7 +1061,7 @@ FmFilterNavigator::FmFilterNavigator(vcl::Window* pTopLevel, std::unique_ptr<wel
m_xTreeView->connect_custom_get_size(LINK(this, FmFilterNavigator, CustomGetSizeHdl));
m_xTreeView->connect_custom_render(LINK(this, FmFilterNavigator, CustomRenderHdl));
- m_xTreeView->set_column_custom_renderer(0, true);
+ m_xTreeView->set_column_custom_renderer(1, true);
m_xTreeView->connect_changed(LINK(this, FmFilterNavigator, SelectHdl));
m_xTreeView->connect_key_press(LINK(this, FmFilterNavigator, KeyInputHdl));
diff --git a/svx/uiconfig/ui/filternavigator.ui b/svx/uiconfig/ui/filternavigator.ui
index 99297b0dc10f..5b7512f0376b 100644
--- a/svx/uiconfig/ui/filternavigator.ui
+++ b/svx/uiconfig/ui/filternavigator.ui
@@ -4,7 +4,7 @@
<requires lib="gtk+" version="3.20"/>
<object class="GtkTreeStore" id="liststore1">
<columns>
- <!-- column-name expander -->
+ <!-- column-name icon -->
<column type="GdkPixbuf"/>
<!-- column-name text -->
<column type="gchararray"/>
@@ -43,16 +43,21 @@
<object class="GtkTreeSelection"/>
</child>
<child>
- <object class="GtkTreeViewColumn" id="treeviewcolumn2">
+ <object class="GtkTreeViewColumn" id="treeviewcolumn0">
+ <property name="visible">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="treeviewcolumn1">
<property name="spacing">6</property>
<child>
- <object class="GtkCellRendererPixbuf" id="cellrenderertext4"/>
+ <object class="GtkCellRendererPixbuf" id="cellrendererpixbuf"/>
<attributes>
<attribute name="pixbuf">0</attribute>
</attributes>
</child>
<child>
- <object class="GtkCellRendererText" id="cellrenderertext2">
+ <object class="GtkCellRendererText" id="cellrenderertext">
<property name="editable">True</property>
</object>
<attributes>