Better, but not yet 100% working clusters, now with structure name.

This commit is contained in:
2020-02-02 22:04:02 +01:00
parent be90c9dc89
commit 3844c7025b
7 changed files with 101 additions and 40 deletions

View File

@@ -1,6 +1,8 @@
from model.entry import Entry
from model.example import Example
from browser import window
from model.example_clusters import ExampleClusters
class Model:
def __init__(self):
@@ -48,6 +50,9 @@ class Model:
self.modal = modal
self.modal_shown = True
def pre_view(self):
# this should go into "after data change" or something
ExampleClusters.rebuild_lists(self)
def import_xml(self, xml_text):
parser = __new__(DOMParser())