diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-11 10:35:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:45 +0100 |
commit | 3afe966bc21650acafdf670c8ef6bb80fe382018 (patch) | |
tree | 91ddc231aa6c5699760faa2df3115531c52fd432 /vcl | |
parent | e3982d4eb623dff2584da36b67ccac0328cef599 (diff) |
missing helpids on brochure toggle
Change-Id: I565ffdd359740198aeb2ed661383ba86c6f7a39e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index d097d39fc7b7..e8b9367ba53d 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -976,7 +976,6 @@ void PrintDialog::setupOptionalUI() { maNUpPage.mpBrochureBtn->SetText( aText ); maNUpPage.mpBrochureBtn->Show(); - setHelpText( maNUpPage.mpBrochureBtn, aHelpTexts, 0 ); sal_Bool bVal = sal_False; PropertyValue* pVal = maPController->getValue( aPropertyName ); @@ -988,6 +987,11 @@ void PrintDialog::setupOptionalUI() maPropertyToWindowMap[ aPropertyName ].push_back( maNUpPage.mpBrochureBtn ); maControlToPropertyMap[maNUpPage.mpBrochureBtn] = aPropertyName; + + // set help id + setHelpId( maNUpPage.mpBrochureBtn, aHelpIds, 0 ); + // set help text + setHelpText( maNUpPage.mpBrochureBtn, aHelpTexts, 0 ); } else if (aCtrlType == "Bool") { |