From 26355306ffaae4ec85a0ddaa372d93526781ac6a Mon Sep 17 00:00:00 2001 From: Isamu Mogi Date: Sat, 22 Mar 2014 11:46:37 +0900 Subject: fdo#68546 Update style settings before changing layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara --- vcl/source/window/menu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/window/menu.cxx') 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(); } } -- cgit