diff options
| author | tassaron | 2017-08-03 12:16:57 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-03 12:16:57 -0400 |
| commit | 219e846984bb10e9674432fa7aeac4157635c743 (patch) | |
| tree | 9f9fe220c58fec91292466cb8968abe701e34a3a /src/component.py | |
| parent | 6611492b30a7daf7bdbe77f6e12f9d322bdd90c1 (diff) | |
relativeWidgets might as well be a list
Diffstat (limited to 'src/component.py')
| -rw-r--r-- | src/component.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/component.py b/src/component.py index 5dfe2ab..c5bc44b 100644 --- a/src/component.py +++ b/src/component.py @@ -304,10 +304,7 @@ class Component(QtCore.QObject, metaclass=ComponentMetaclass): elif attr in self._relativeWidgets: # Relative widgets: number scales to fit export resolution - if self._relativeWidgets[attr] == 'x': - dimension = self.width - else: - dimension = self.height + dimension = self.width try: oldUserValue = getattr(self, attr) except AttributeError: |
