summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-09-21 21:55:20 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-09-23 07:17:28 +0000
commitcfc880da034ae4a504042d3e78703e338eb43ff8 (patch)
treed9253f433e448a28756bab7be8dc22a07440d445
parentdb25bda687f2981dbad1109357dbc721e4104962 (diff)
tdf#94421: Web Wizard, option shift when loading saved session
Just use the right order LOCAL_PUBLISHER first, ZIP_PUBLISHER second, FTP_PUBLISHER third and last one Change-Id: I23ff96785910d62bbb2c221932d0ad2a2e755b3c Reviewed-on: https://gerrit.libreoffice.org/18755 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 09c3e186e8b8562e3d502c5cbdef385753336b7f) Reviewed-on: https://gerrit.libreoffice.org/18758 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Startup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/web/WWD_Startup.py b/wizards/com/sun/star/wizards/web/WWD_Startup.py
index d3a0f29b3990..5dce0e182a2f 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Startup.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Startup.py
@@ -494,8 +494,8 @@ class WWD_Startup(WWD_General):
self.mountList(session.cp_GeneralInfo, self.genAware)
task.advance(True)
self.mountDataAware(session.cp_Publishing.getElement(LOCAL_PUBLISHER), 0)
- self.mountDataAware(session.cp_Publishing.getElement(FTP_PUBLISHER), 1)
- self.mountDataAware(session.cp_Publishing.getElement(ZIP_PUBLISHER), 2)
+ self.mountDataAware(session.cp_Publishing.getElement(ZIP_PUBLISHER), 1)
+ self.mountDataAware(session.cp_Publishing.getElement(FTP_PUBLISHER), 2)
task.advance(True)
self.sessionNameDA.setDataObject(session, True)
self.chkSaveSettings.Model.State = 1