Code

Hide the new 'clear' swatch for now
authorjoncruz <joncruz@users.sourceforge.net>
Thu, 5 Mar 2009 08:19:09 +0000 (08:19 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Thu, 5 Mar 2009 08:19:09 +0000 (08:19 +0000)
src/ui/dialog/swatches.cpp

index 5cd357673b4bf68b7a5e443b8fc8d60f9e21a32f..b29f9525e0902edfeddd133afeb60eb472234ab9 100644 (file)
@@ -1264,7 +1264,7 @@ void SwatchesPanel::_handleAction( int setId, int itemId )
                     _holder->setColumnPref( curr->_prefWidth );
                 }
                 _holder->freezeUpdates();
-                _holder->addPreview(_clear);
+                // TODO restore once 'clear' works _holder->addPreview(_clear);
                 _holder->addPreview(_remove);
                 for ( std::vector<ColorItem*>::iterator it = curr->_colors.begin(); it != curr->_colors.end(); it++ ) {
                     _holder->addPreview(*it);