diff options
| author | tassaron | 2022-04-29 21:15:17 -0400 |
|---|---|---|
| committer | tassaron | 2022-04-29 21:15:17 -0400 |
| commit | c2c3f0aa5adf3127b84b3d50da9e1aa655c8a824 (patch) | |
| tree | aa4593c53378e376e849799ee7cea23707aff4ec /src/components/video.py | |
| parent | 6f7b3b5f7cb72d09b2b86bd58b2e526515739590 (diff) | |
remove extra window properties from window objects
instead of windows with properties which are windows, windows now have the UI added directly to them using an argument of `uic.loadUi`
Also, DPI scaling moved to MainWindow __init__
Diffstat (limited to 'src/components/video.py')
| -rw-r--r-- | src/components/video.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/video.py b/src/components/video.py index 070940d..9fffc26 100644 --- a/src/components/video.py +++ b/src/components/video.py @@ -63,8 +63,8 @@ class Component(Component): def properties(self): props = [] - if hasattr(self.parent, 'window'): - outputFile = self.parent.window.lineEdit_outputFile.text() + if hasattr(self.parent, 'lineEdit_outputFile'): + outputFile = self.parent.lineEdit_outputFile.text() else: outputFile = str(self.parent.args.output) |
