mirror of https://gitlab.com/pamhyr/pamhyr2
Scenario: Minor fixes.
parent
b8ed3d8954
commit
267f30849f
|
|
@ -176,7 +176,7 @@ class Scenario(SQLSubModel):
|
|||
"scenario(id, x, y, name, description, revision, parent_id) " +
|
||||
"VALUES (" +
|
||||
f"{self._id}, " +
|
||||
f"{self.x}, {self.y} " +
|
||||
f"{self.x}, {self.y}, " +
|
||||
f"'{self._db_format(self.name)}', " +
|
||||
f"'{self._db_format(self.description)}', " +
|
||||
f"{self._revision}, " +
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ class ScenarioItem(QGraphicsTextItem):
|
|||
self.graph.edges_display_update()
|
||||
return super(ScenarioItem, self).itemChange(change, value)
|
||||
|
||||
|
||||
class EdgeItem(QGraphicsItem):
|
||||
Type = QGraphicsItem.UserType + 11
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue