Kaydet (Commit) 746b51de authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

Update the status only after colors load

This is required to get the current color
selection on the palette upon opening.

Change-Id: I1660b9d17a76bf6c7ae4b6b860c7ee75c5fc857e
üst 05ed3a5d
...@@ -1081,11 +1081,11 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand, ...@@ -1081,11 +1081,11 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
SetHelpId( HID_POPUP_COLOR ); SetHelpId( HID_POPUP_COLOR );
mpColorSet->SetHelpId( HID_POPUP_COLOR_CTRL ); mpColorSet->SetHelpId( HID_POPUP_COLOR_CTRL );
SetText( rWndTitle ); SetText( rWndTitle );
AddStatusListener( OUString( ".uno:ColorTableState" ));
AddStatusListener( maCommand );
mrPaletteManager.ReloadColorSet(*mpColorSet); mrPaletteManager.ReloadColorSet(*mpColorSet);
mrPaletteManager.ReloadRecentColorSet(*mpRecentColorSet); mrPaletteManager.ReloadRecentColorSet(*mpRecentColorSet);
AddStatusListener( ".uno:ColorTableState" );
AddStatusListener( maCommand );
} }
SvxColorWindow_Impl::~SvxColorWindow_Impl() SvxColorWindow_Impl::~SvxColorWindow_Impl()
......
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