before removing Notes,source_context from the Anki cards

This commit is contained in:
stephen 2026-07-01 20:22:04 +10:00
parent 1cd6f62adc
commit 8bc54eca97
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -171,7 +171,7 @@ class SandboxTab(QWidget):
dlg = TextEditorDialog("Edit Grammar / Core Notes Block", self.current_notes_content, self) dlg = TextEditorDialog("Edit Grammar / Core Notes Block", self.current_notes_content, self)
if dlg.exec(): if dlg.exec():
self.current_notes_content = dlg.get_text() self.current_notes_content = dlg.get_text()
print(f"[DEBUG DIALOG CLOSE] Notes Block updated in memory: {self.current_notes_content}") # print(f"[DEBUG DIALOG CLOSE] Notes Block updated in memory: {self.current_notes_content}")
@pyqtSlot() @pyqtSlot()
@ -179,7 +179,7 @@ class SandboxTab(QWidget):
dlg = TextEditorDialog("Edit Anki Specialized Meta Field", self.current_anki_notes_content, self) dlg = TextEditorDialog("Edit Anki Specialized Meta Field", self.current_anki_notes_content, self)
if dlg.exec(): if dlg.exec():
self.current_anki_notes_content = dlg.get_text() self.current_anki_notes_content = dlg.get_text()
print(f"[DEBUG DIALOG CLOSE] Anki Notes Block updated in memory: {self.current_anki_notes_content}") #print(f"[DEBUG DIALOG CLOSE] Anki Notes Block updated in memory: {self.current_anki_notes_content}")
def clear_form_fields(self): def clear_form_fields(self):
self.txt_english.blockSignals(True) self.txt_english.blockSignals(True)