starmath/source/dialog.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0f15edbcfcb9f8ba40a8f38899c798ccdb698aed
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Nov 14 09:23:58 2023 +0000
Commit:     Miklos Vajna <[email protected]>
CommitDate: Tue Nov 14 11:35:35 2023 +0100

    Resolves: tdf#158121 Math - Print settings not read after changing
    
    Change-Id: I4effa4905f05a8a6105d4283c0a3b5ba8dd4d31d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159247
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 5ca38a4c4f99..a669cc317ac1 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());

Reply via email to