summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsamu Mogi <saturday6c@gmail.com>2014-03-22 11:46:37 +0900
committerCaolán McNamara <caolanm@redhat.com>2014-03-28 11:37:50 +0000
commit26355306ffaae4ec85a0ddaa372d93526781ac6a (patch)
tree415c5c2eacc5183787ee9de2a6a1bccceac05e72
parent46142545dea30fe14e829795ad1acca2cc1a6a7a (diff)
fdo#68546 Update style settings before changing layout
Currently, ImplInitStyleSettings()'s effect isn't be reflect to UI. Because it is called after refreshing UI by ImplLayoutChanged(). This fixes these order. Change-Id: I4cfe0115bc32551cecc70cf4b33921fb8ee7ea5a Reviewed-on: https://gerrit.libreoffice.org/8714 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/window/menu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 88e2b9ec92f5..8b52b46b6f66 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -6026,8 +6026,8 @@ void MenuBarWindow::DataChanged( const DataChangedEvent& rDCEvt )
((rDCEvt.GetType() == DATACHANGED_SETTINGS) &&
(rDCEvt.GetFlags() & SETTINGS_STYLE)) )
{
- ImplLayoutChanged();
ImplInitStyleSettings();
+ ImplLayoutChanged();
}
}