|
@@ -54,9 +54,10 @@ class Summary(QWidget):
|
|
json.dump(self.sum, fp, ensure_ascii=False, indent="\t")
|
|
json.dump(self.sum, fp, ensure_ascii=False, indent="\t")
|
|
|
|
|
|
self.list.addNewItem(item)
|
|
self.list.addNewItem(item)
|
|
|
|
+
|
|
|
|
+ self.parent.core.contentcompiler.reload()
|
|
|
|
|
|
def recordNewList(self):
|
|
def recordNewList(self):
|
|
-
|
|
|
|
newdata = []
|
|
newdata = []
|
|
for i in range(0,self.list.count()):
|
|
for i in range(0,self.list.count()):
|
|
|
|
|
|
@@ -68,7 +69,8 @@ class Summary(QWidget):
|
|
with open(jsonfilepath, "w") as fp:
|
|
with open(jsonfilepath, "w") as fp:
|
|
json.dump(newdata, fp, ensure_ascii=False, indent="\t")
|
|
json.dump(newdata, fp, ensure_ascii=False, indent="\t")
|
|
|
|
|
|
-
|
|
+
|
|
|
|
+ self.parent.core.contentcompiler.reload()
|
|
|
|
|
|
class SummaryList(QListWidget):
|
|
class SummaryList(QListWidget):
|
|
def __init__(self, parent):
|
|
def __init__(self, parent):
|
|
@@ -219,6 +221,7 @@ class MarkdownEditor(QWidget):
|
|
self.refreshViewer()
|
|
self.refreshViewer()
|
|
if not self.changed:
|
|
if not self.changed:
|
|
self.changed = True
|
|
self.changed = True
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|