aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorDH42017-05-28 07:36:34 -0500
committerDH42017-05-28 07:36:34 -0500
commitd9a5f2dd34c0bf14bfc99b58183b00d43217d889 (patch)
tree7b420d9dc5215a51f1c16e4cfb14371ed1529a40 /main.py
parent75c1c65c9d63515a1488b63e9df9971984e1f7e8 (diff)
Fixed Resolution Change in preview. Removed debugging print statements.
Diffstat (limited to 'main.py')
-rw-r--r--main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.py b/main.py
index b700ad7..77fc9cc 100644
--- a/main.py
+++ b/main.py
@@ -299,7 +299,7 @@ class Main(QtCore.QObject):
res = self.resolutions[resIndex].split('x')
self.settings.setValue('outputWidth',res[0])
self.settings.setValue('outputHeight',res[1])
- self.drawPreview
+ self.drawPreview()
def drawPreview(self):
#self.settings.setValue('visLayout', self.window.comboBox_visLayout.currentIndex())
@@ -350,7 +350,6 @@ class Main(QtCore.QObject):
self.window.stackedWidget.removeWidget(self.pages[index])
self.window.listWidget_componentList.takeItem(index)
self.selectedComponents.pop(index)
- print(self.selectedComponents)
self.drawPreview()
def changeComponentWidget(self):