https://bugs.freedesktop.org/show_bug.cgi?id=68874

Ivan Timofeev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #3 from Ivan Timofeev <[email protected]> ---
The following change fixes the problem for me:

diff --git a/svx/source/tbxctrls/tbcontrl.cxx
b/svx/source/tbxctrls/tbcontrl.cxx
index 9c6b63e..2a254065 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2537,7 +2537,7 @@ void SvxColorExtToolBoxControl::StateChanged(

 {
     const SvxColorItem* pItem = 0;
-    if ( bChoiceFromPalette )
+    if ( bChoiceFromPalette && nSID == GetSlotId() )
     {
         bChoiceFromPalette = sal_False;
         switch( nSID )

but I'd like to know why StateChanged is called with nSID != GetSlotId()... :-|
Let me debug it a bit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to