summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Funk <juergen.funk_ml@cib.de>2015-06-26 15:45:00 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-07-03 14:45:19 +0000
commit7fa28a17f658c2bd15a359a5153e77667b925a20 (patch)
tree754d1ee552b8c38f23da8cb368c23c9bdf4378e9
parent4acd1debc1cf1b002e3a3555c4dd7579d3f65e24 (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> Reviewed-on: https://gerrit.libreoffice.org/16649 Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.cxx2
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;