starmath/source/dialog.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 738e342f3e68020bb84b45db1e68b3efd0057a12
Author: Caolán McNamara <[email protected]>
AuthorDate: Tue Nov 14 09:23:58 2023 +0000
Commit: Caolán McNamara <[email protected]>
CommitDate: Tue Nov 14 11:15:43 2023 +0100
Resolves: tdf#158121 Math - Print settings not read after changing
Change-Id: I4effa4905f05a8a6105d4283c0a3b5ba8dd4d31d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159402
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 98f96eacb480..f96f43cfebba 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -280,6 +280,8 @@ void SmPrintOptionsTabPage::Reset(const SfxItemSet* rSet)
m_xSmZoom->set_value(rSet->Get(SID_SMEDITWINDOWZOOM).GetValue(),
FieldUnit::PERCENT);
m_xTitle->set_active(rSet->Get(SID_PRINTTITLE).GetValue());
+ m_xText->set_active(rSet->Get(GetWhich(SID_PRINTTEXT)).GetValue());
+ m_xFrame->set_active(rSet->Get(GetWhich(SID_PRINTFRAME)).GetValue());
m_xEnableInlineEdit->set_active(rSet->Get(SID_INLINE_EDIT_ENABLE).GetValue());
m_xNoRightSpaces->set_active(rSet->Get(SID_NO_RIGHT_SPACES).GetValue());
m_xSaveOnlyUsedSymbols->set_active(rSet->Get(SID_SAVE_ONLY_USED_SYMBOLS).GetValue());