Kaydet (Commit) f6de86ec authored tarafından Patrik Vas's avatar Patrik Vas Kaydeden (comit) Tamás Zolnai

tdf#120565: Fix scale bug in Bitmap Area dialog

Change-Id: Id8886b7972e707698b539ad5787a26d6a64198ca
Reviewed-on: https://gerrit.libreoffice.org/65771Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst 04e41ba2
...@@ -328,8 +328,6 @@ void SvxBitmapTabPage::Reset( const SfxItemSet* rAttrs ) ...@@ -328,8 +328,6 @@ void SvxBitmapTabPage::Reset( const SfxItemSet* rAttrs )
m_xTsbScale->set_state(TRISTATE_TRUE); m_xTsbScale->set_state(TRISTATE_TRUE);
m_bLogicalSize = false; m_bLogicalSize = false;
} }
ClickScaleHdl(*m_xTsbScale);
} }
else else
m_xTsbScale->set_state(TRISTATE_INDET); m_xTsbScale->set_state(TRISTATE_INDET);
...@@ -359,6 +357,8 @@ void SvxBitmapTabPage::Reset( const SfxItemSet* rAttrs ) ...@@ -359,6 +357,8 @@ void SvxBitmapTabPage::Reset( const SfxItemSet* rAttrs )
} }
} }
m_xTsbScale->set_state(eRelative); m_xTsbScale->set_state(eRelative);
ClickScaleHdl(*m_xTsbScale);
if(rBitmapSize.Width() > 0 && rBitmapSize.Height() > 0) if(rBitmapSize.Width() > 0 && rBitmapSize.Height() > 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment