summaryrefslogtreecommitdiff
path: root/wizards/source/webwizard
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-09-13 13:31:31 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-09-13 13:31:31 +0000
commitfa1592224bbfb73d9e3b29c10216fe973e43f469 (patch)
tree4d3d3809cb19536cbc506807c7be03112116df28 /wizards/source/webwizard
parent956df411b96d914ee4a5c9c9c45282c4b8b20f3e (diff)
#91427# Defaultbutton now on 'GoOn'Button
Diffstat (limited to 'wizards/source/webwizard')
-rw-r--r--wizards/source/webwizard/HtmlAutoPilotBasic.xba2
-rw-r--r--wizards/source/webwizard/WebWzrd.xdl2
2 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/webwizard/HtmlAutoPilotBasic.xba b/wizards/source/webwizard/HtmlAutoPilotBasic.xba
index 15a6e89c45b8..dd2b713624d9 100644
--- a/wizards/source/webwizard/HtmlAutoPilotBasic.xba
+++ b/wizards/source/webwizard/HtmlAutoPilotBasic.xba
@@ -50,7 +50,6 @@ Sub Main
oUcb = createUnoService(&quot;com.sun.star.ucb.SimpleFileAccess&quot;)
oBaseDocument = StarDesktop.LoadComponentFromURL(&quot;private:factory/swriter/web&quot;, &quot;_blank&quot;, 0, NoArgs())
oViewSettings = oBaseDocument.CurrentController.ViewSettings
-
oViewCursor = oBaseDocument.GetCurrentController.ViewCursor
ProgressBar = oBaseDocument.GetCurrentController.GetFrame.CreateStatusIndicator
ProgressBar.Start(&quot;&quot;, 100)
@@ -80,6 +79,7 @@ Sub Main
sBitmapPath = SOBitmapPath &amp; &quot;webwizard.bmp&quot;
DialogModel.ImagePreview.ImageURL = sBitmapPath
ToggleOptionButtons(DialogModel, bWithBackGraphic)
+ DialogModel.cbGoOn.DefaultButton = True
MainDialog.Execute
GLOBALERRORHANDLER:
diff --git a/wizards/source/webwizard/WebWzrd.xdl b/wizards/source/webwizard/WebWzrd.xdl
index 1b6c39a7ecd2..da3c59234da7 100644
--- a/wizards/source/webwizard/WebWzrd.xdl
+++ b/wizards/source/webwizard/WebWzrd.xdl
@@ -8,7 +8,7 @@
<dlg:button dlg:id="cbHelp" dlg:tab-index="1" dlg:left="66" dlg:top="190" dlg:width="50" dlg:height="14" dlg:tag="34200" dlg:help-url="HID:34200" dlg:value="cbHelp">
<script:event script:event-name="on-performaction" script:location="application" script:macro-name="Tools.Recursive.ShowHelperDialog" script:language="StarBasic"/>
</dlg:button>
- <dlg:button dlg:id="cbGoOn" dlg:tab-index="2" dlg:left="214" dlg:top="190" dlg:width="50" dlg:height="14" dlg:help-url="HID:34205" dlg:value="cbGoOn">
+ <dlg:button dlg:id="cbGoOn" dlg:tab-index="2" dlg:left="214" dlg:top="190" dlg:width="50" dlg:height="14" dlg:help-url="HID:34205" dlg:default="true" dlg:value="cbGoOn">
<script:event script:event-name="on-performaction" script:location="application" script:macro-name="WebWizard.HtmlAutoPilotBasic.EndDialog" script:language="StarBasic"/>
</dlg:button>
<dlg:img dlg:id="ImagePreview" dlg:tab-index="3" dlg:left="6" dlg:top="6" dlg:width="258" dlg:height="26"/>