now first update must have a message, so noreset is chosen
This commit is contained in:
parent
113efc1d23
commit
fc35a3079b
|
@ -3,6 +3,7 @@ from model import Model
|
||||||
from view import View
|
from view import View
|
||||||
from update import update
|
from update import update
|
||||||
from export import export_to_xml
|
from export import export_to_xml
|
||||||
|
from message.simple_messages import Reset
|
||||||
|
|
||||||
|
|
||||||
model = Model()
|
model = Model()
|
||||||
|
@ -16,7 +17,7 @@ def plugin_init(div, _entry, editable):
|
||||||
|
|
||||||
def plugin_render(_div, entry):
|
def plugin_render(_div, entry):
|
||||||
model.import_xml(entry.content)
|
model.import_xml(entry.content)
|
||||||
update.update_model()
|
update.update_model(Reset())
|
||||||
|
|
||||||
|
|
||||||
def plugin_save(_div):
|
def plugin_save(_div):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user