Browse Source

now first update must have a message, so noreset is chosen

pull/1/head
Ozbolt Menegatti 1 year ago
parent
commit
fc35a3079b
  1. 5
      src/main.py

5
src/main.py

@ -3,6 +3,7 @@ from model import Model
from view import View
from update import update
from export import export_to_xml
from message.simple_messages import Reset
model = Model()
@ -12,11 +13,11 @@ def plugin_init(div, _entry, editable):
view = View(div)
update.set_model(model)
update.set_view(view)
def plugin_render(_div, entry):
model.import_xml(entry.content)
update.update_model()
update.update_model(Reset())
def plugin_save(_div):

Loading…
Cancel
Save