CVS commit by pino: When selecting a custom color for one object, put the old object color as selected color in the Color dialog. (Mmm... too many "color" in this commit message... ;) M +3 -1 popup.cc 1.67 --- kdeedu/kig/modes/popup.cc #1.66:1.67 @@ -641,5 +641,7 @@ bool BuiltinObjectActionsProvider::execu else { - int result = KColorDialog::getColor( color ); + if ( os.size() == 1 ) + color = os.front()->drawer()->color(); + int result = KColorDialog::getColor( color, &w ); if ( result != KColorDialog::Accepted ) return true; }