diff options
| author | Maximilian Siess | 2017-04-21 01:00:17 +0200 |
|---|---|---|
| committer | Maximilian Siess | 2017-04-21 01:00:17 +0200 |
| commit | 4aef5bfdb7f04dde13b1c6a94172824ce143be6e (patch) | |
| tree | 9677c2cf51695134e6ffbfc288e33fb74a7ba667 /main.py | |
| parent | 018f5900f0703ad8a2a962d076ac291b0805657d (diff) | |
changed differentiater of text alignment from string to int
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,9 +14,9 @@ import preview_thread, core, video_thread class Main(QtCore.QObject): - newTask = QtCore.pyqtSignal(str, str, QFont, int, str, int, int) + newTask = QtCore.pyqtSignal(str, str, QFont, int, int, int, int) processTask = QtCore.pyqtSignal() - videoTask = QtCore.pyqtSignal(str, str, QFont, int, str, int, int, str, str) + videoTask = QtCore.pyqtSignal(str, str, QFont, int, int, int, int, str, str) def __init__(self, window): @@ -153,7 +153,7 @@ class Main(QtCore.QObject): self.window.lineEdit_title.text(), self.window.fontComboBox.currentFont(), self.window.fontsizeSpinBox.value(), - self.window.alignmentComboBox.currentText(), + self.window.alignmentComboBox.currentIndex(), self.window.textXSpinBox.value(), self.window.textYSpinBox.value(), self.window.label_input.text(), @@ -172,7 +172,7 @@ class Main(QtCore.QObject): self.window.lineEdit_title.text(), self.window.fontComboBox.currentFont(), self.window.fontsizeSpinBox.value(), - self.window.alignmentComboBox.currentText(), + self.window.alignmentComboBox.currentIndex(), self.window.textXSpinBox.value(), self.window.textYSpinBox.value()) # self.processTask.emit() |
