We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 300ff07 commit 5fa2c09Copy full SHA for 5fa2c09
ISAT/widgets/canvas.py
@@ -387,9 +387,9 @@ def finish_draw(self):
387
self.mainwindow.categories_dock_widget.lineEdit_currentGroup.setText(str(self.mainwindow.current_group))
388
389
# 设置为最高图层
390
- self.current_graph.setZValue(len(self.mainwindow.polygons))
+ self.current_graph.setZValue(len(self.mainwindow.polygons)+1)
391
for vertex in self.current_graph.vertexs:
392
- vertex.setZValue(len(self.mainwindow.polygons))
+ vertex.setZValue(len(self.mainwindow.polygons)+1)
393
394
# 添加新polygon
395
self.mainwindow.polygons.append(self.current_graph)
0 commit comments