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
This commit is contained in:
Jim Raykowski 2024-06-20 17:04:11 -08:00
parent 28438a5b1f
commit c5bbbe9873
2 changed files with 10 additions and 5 deletions

View file

@ -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));

View file

@ -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>