diff options
| author | Brianna | 2017-09-02 09:49:35 -0400 |
|---|---|---|
| committer | GitHub | 2017-09-02 09:49:35 -0400 |
| commit | 22978a0635e906f8ebfa1de81cdc38fd96aad756 (patch) | |
| tree | 2dc5e033a4073d433aaa824113467032d35ca3c1 /src/components/image.py | |
| parent | 39d6a4e5af94a8aa612a009bbe235715b84e7abc (diff) | |
| parent | 8411857030d92e448d5c64682f396e677161afbe (diff) | |
Undo feature
Diffstat (limited to 'src/components/image.py')
| -rw-r--r-- | src/components/image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/image.py b/src/components/image.py index 63bee1a..dd363bf 100644 --- a/src/components/image.py +++ b/src/components/image.py @@ -83,8 +83,9 @@ class Component(Component): "Image Files (%s)" % " ".join(self.core.imageFormats)) if filename: self.settings.setValue("componentDir", os.path.dirname(filename)) + self.mergeUndo = False self.page.lineEdit_image.setText(filename) - self.update() + self.mergeUndo = True def command(self, arg): if '=' in arg: @@ -123,4 +124,3 @@ class Component(Component): else: scaleBox.setVisible(True) stretchScaleBox.setVisible(False) - super().update() |
