From 374c5f75c951e44f939b791d63ad1b875af7efe8 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Wed, 15 Jun 2005 16:28:32 +0000 Subject: [PATCH] Fix a color-bug svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=425812 --- kalzium/src/element.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 9234612..53534b4 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -302,6 +302,7 @@ void Element::drawCrystalstructure( QPainter* p ) color = Qt::white; name = QString::null; } + setElementColor( color ); p->setPen( color ); p->fillRect( X, Y,ELEMENTSIZE,ELEMENTSIZE, color ); -- 2.47.3