mirror of https://gitlab.com/pamhyr/pamhyr2
Scenario: Minor change.
parent
ed0a549027
commit
71bea2eea4
|
|
@ -196,7 +196,6 @@ class Scenario(SQLSubModel):
|
|||
@name.setter
|
||||
def name(self, name):
|
||||
self._name = name
|
||||
# self.modified()
|
||||
|
||||
@property
|
||||
def description(self):
|
||||
|
|
@ -208,7 +207,6 @@ class Scenario(SQLSubModel):
|
|||
@description.setter
|
||||
def description(self, description):
|
||||
self._description = description
|
||||
# self.modified()
|
||||
|
||||
@property
|
||||
def revision(self):
|
||||
|
|
@ -217,7 +215,6 @@ class Scenario(SQLSubModel):
|
|||
@revision.setter
|
||||
def revision(self, revision):
|
||||
self._revision = revision
|
||||
# self.modified()
|
||||
|
||||
@property
|
||||
def parent(self):
|
||||
|
|
@ -226,7 +223,6 @@ class Scenario(SQLSubModel):
|
|||
def set_pos(self, x, y):
|
||||
self._x = x
|
||||
self._y = y
|
||||
# self.modified()
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
if key == "name":
|
||||
|
|
@ -234,8 +230,6 @@ class Scenario(SQLSubModel):
|
|||
elif key == "description":
|
||||
self.description = value
|
||||
|
||||
# self.modified()
|
||||
|
||||
def __getitem__(self, key):
|
||||
if key == "name":
|
||||
return self.name
|
||||
|
|
|
|||
Loading…
Reference in New Issue