diff options
author | Isamu Mogi <saturday6c@gmail.com> | 2014-03-22 11:46:37 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-28 11:37:50 +0000 |
commit | 26355306ffaae4ec85a0ddaa372d93526781ac6a (patch) | |
tree | 415c5c2eacc5183787ee9de2a6a1bccceac05e72 /vcl/source/window/menu.cxx | |
parent | 46142545dea30fe14e829795ad1acca2cc1a6a7a (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>
Diffstat (limited to 'vcl/source/window/menu.cxx')
-rw-r--r-- | vcl/source/window/menu.cxx | 2 |
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(); } } |