diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-09-18 15:20:33 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-09-18 15:28:47 +0300 |
commit | 746b51de3d3bb267e02df5712cadfcf03654b587 (patch) | |
tree | dcfadde64c3e09cdbe2812b011dc2ecbba3ddcb3 /svx/source/tbxctrls | |
parent | 05ed3a5da62b1c552f24d559f4a35c314f23a4f0 (diff) |
Update the status only after colors load
This is required to get the current color
selection on the palette upon opening.
Change-Id: I1660b9d17a76bf6c7ae4b6b860c7ee75c5fc857e
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 0c3c227fa342..9562072ec6f5 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1081,11 +1081,11 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand, SetHelpId( HID_POPUP_COLOR ); mpColorSet->SetHelpId( HID_POPUP_COLOR_CTRL ); SetText( rWndTitle ); - AddStatusListener( OUString( ".uno:ColorTableState" )); - AddStatusListener( maCommand ); mrPaletteManager.ReloadColorSet(*mpColorSet); mrPaletteManager.ReloadRecentColorSet(*mpRecentColorSet); + AddStatusListener( ".uno:ColorTableState" ); + AddStatusListener( maCommand ); } SvxColorWindow_Impl::~SvxColorWindow_Impl() |