mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +01:00
Fix minor bug
When two shapes item have line and filling color and the dock widget used for edit the current selection is visible, switching selection between the two shapes, the last selected shape filling color change and become the filling color of the previous shape.
This commit is contained in:
@@ -53,13 +53,12 @@ class ShapeGraphicsItemPropertiesWidget : public PropertiesEditorWidget
|
||||
|
||||
private:
|
||||
void setUpEditConnection();
|
||||
void clearEditConnection();
|
||||
|
||||
private slots:
|
||||
void on_m_lock_pos_cb_clicked();
|
||||
void on_m_color_kpb_changed(const QColor &newColor);
|
||||
void on_m_brush_color_kpb_changed(const QColor &newColor);
|
||||
|
||||
private:
|
||||
private:
|
||||
Ui::ShapeGraphicsItemPropertiesWidget *ui;
|
||||
QetShapeItem *m_shape;
|
||||
QList <QPointer<QetShapeItem>> m_shapes_list;
|
||||
|
||||
Reference in New Issue
Block a user