diff options
author | Juergen Funk <juergen.funk_ml@cib.de> | 2015-06-26 15:45:00 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-06-29 15:20:25 +0000 |
commit | 3e8c14df67a43d3088ed7df0a2b0d96a4bc42d57 (patch) | |
tree | 15176e9c3be921f57843136dfbd0ab2435bec5fd /vcl | |
parent | 8c30d8bbb8a0b3682160252ee065befabf613a7b (diff) |
tdf#92353 FileSave: Not confirmed for overwrite a file (unix)
The setConfimOverwrite function must be set after setOperationMode function
Change-Id: Id5ab54be502e9c96eba3d7ab600b5e06e241c8fd
Reviewed-on: https://gerrit.libreoffice.org/16517
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde4/KDE4FilePicker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx index ac21f81cd93c..4615bd48ebeb 100644 --- a/vcl/unx/kde4/KDE4FilePicker.cxx +++ b/vcl/unx/kde4/KDE4FilePicker.cxx @@ -129,7 +129,6 @@ KDE4FilePicker::KDE4FilePicker( const uno::Reference<uno::XComponentContext>& ) #endif setMultiSelectionMode( false ); - _dialog->setConfirmOverwrite( true ); // XExecutableDialog functions connect( this, SIGNAL( setTitleSignal( const OUString & ) ), @@ -737,6 +736,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args ) break; case KFileDialog::Saving: resId = STR_FPICKER_SAVE; + _dialog->setConfirmOverwrite( true ); break; default: break; |