[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 1 07:42:28 UTC 2019


 vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 77d6560bc97f2475f67ff5a048efda8cc1d38771
Author:     Martin van Zijl <martin.vanzijl at gmail.com>
AuthorDate: Tue Dec 4 08:35:09 2018 +1300
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Feb 1 08:41:56 2019 +0100

    tdf#84431 set default format for chart image export
    
    Change-Id: I0b07bfe6e2dd8227c6a291252cd2fa8c48412866
    Reviewed-on: https://gerrit.libreoffice.org/64581
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index a4010682d3d0..0027a6e9a958 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -901,6 +901,10 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute()
 
     SetFilters();
 
+    // tdf#84431 - set the filter after the corresponding widget is created
+    if ( !m_aCurrentFilter.isEmpty() )
+        SetCurFilter(m_aCurrentFilter);
+
     mnHID_FolderChange =
         g_signal_connect( GTK_FILE_CHOOSER( m_pDialog ), "current-folder-changed",
             G_CALLBACK( folder_changed_cb ), static_cast<gpointer>(this) );


More information about the Libreoffice-commits mailing list