81 @param data dictionary containing the change data |
81 @param data dictionary containing the change data |
82 @type dict |
82 @type dict |
83 """ |
83 """ |
84 from .ChangesPreviewDialog import ChangesPreviewDialog |
84 from .ChangesPreviewDialog import ChangesPreviewDialog |
85 |
85 |
86 dlg = ChangesPreviewDialog(data["Description"], data["Changes"], self) |
86 dlg = ChangesPreviewDialog(data["Description"], data["Changes"], parent=self) |
87 if dlg.exec() == QDialog.DialogCode.Accepted: |
87 if dlg.exec() == QDialog.DialogCode.Accepted: |
88 self.applyChanges() |
88 self.applyChanges() |
89 |
89 |
90 def applyChanges(self): |
90 def applyChanges(self): |
91 """ |
91 """ |