Browse Source

Fix bug in default fill color for shapes

Michael Pitidis 13 years ago
parent
commit
ba3132a9df
1 changed files with 2 additions and 2 deletions
  1. 2 2
      labelme.py

+ 2 - 2
labelme.py

@@ -794,8 +794,8 @@ class MainWindow(QMainWindow, WindowMixin):
             self.setDirty()
 
     def chshapeFillColor(self):
-        color = self.colorDialog.getColor(self.lineColor, u'Choose line color',
-                default=DEFAULT_LINE_COLOR)
+        color = self.colorDialog.getColor(self.fillColor, u'Choose fill color',
+                default=DEFAULT_FILL_COLOR)
         if color:
             self.canvas.selectedShape.fill_color = color
             self.canvas.update()