78 @type dict |
78 @type dict |
79 """ |
79 """ |
80 from .ChangesPreviewDialog import ChangesPreviewDialog |
80 from .ChangesPreviewDialog import ChangesPreviewDialog |
81 dlg = ChangesPreviewDialog( |
81 dlg = ChangesPreviewDialog( |
82 data["Description"], data["Changes"], self) |
82 data["Description"], data["Changes"], self) |
83 if dlg.exec_() == QDialog.Accepted: |
83 if dlg.exec() == QDialog.Accepted: |
84 self.applyChanges() |
84 self.applyChanges() |
85 |
85 |
86 def applyChanges(self): |
86 def applyChanges(self): |
87 """ |
87 """ |
88 Public method to apply the changes. |
88 Public method to apply the changes. |