diff options
| author | tassaron | 2017-08-20 18:36:43 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-20 18:36:43 -0400 |
| commit | 6bf8a553d6170e0ca6e7d2002e46ae327a6e5e81 (patch) | |
| tree | b97c9c2d334772fff1c38c5a6a2a4a5b3e6863e4 /src/components/image.py | |
| parent | be9eb9077b2234e6d91c78d70bb8e1d8347b03aa (diff) | |
don't merge undos when setting text with a button
plus changes to life.py for pep8 compliance
Diffstat (limited to 'src/components/image.py')
| -rw-r--r-- | src/components/image.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/image.py b/src/components/image.py index c57b69c..dd363bf 100644 --- a/src/components/image.py +++ b/src/components/image.py @@ -83,7 +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.mergeUndo = True def command(self, arg): if '=' in arg: |
