fix Graphic first graphic

This commit is contained in:
2024-01-16 14:04:38 +03:00
parent c3dcf36a20
commit 7a669d47c8

View File

@@ -186,7 +186,6 @@ Graphic::Graphic(QWidget * parent): QFrame(parent), canvas(0), line_x_min(this),
text_color = palette().color(QPalette::WindowText);
grid_pen = QPen(palette().color(QPalette::Disabled, QPalette::WindowText), 0., Qt::DotLine);
graphics.append(GraphicType());
graphics.back().init();
curGraphic = 0;
selpen = palette().color(QPalette::WindowText);
selpen.setStyle(Qt::DashLine);