starmath/source/dialog.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit e9441aef95c31afcc155a0076cf34521d605e5a2 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Nov 14 09:23:58 2023 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Nov 14 11:15:51 2023 +0100
Resolves: tdf#158121 Math - Print settings not read after changing Change-Id: I4effa4905f05a8a6105d4283c0a3b5ba8dd4d31d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159403 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> Tested-by: Jenkins diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 03bbc60da66a..d5c107774ee7 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -229,6 +229,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_xNoRightSpaces->set_active(rSet->Get(SID_NO_RIGHT_SPACES).GetValue()); m_xSaveOnlyUsedSymbols->set_active(rSet->Get(SID_SAVE_ONLY_USED_SYMBOLS).GetValue()); m_xAutoCloseBrackets->set_active(rSet->Get(SID_AUTO_CLOSE_BRACKETS).GetValue());