개정판 d5d3fc59
issue #622: fix and test line bug
Change-Id: I21a96ba5c8a6169652067a2c5c0ce68fdef8e0d2
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
122 | 122 |
self.ui.radioButtonDiagonalYes.setChecked(True if size == 1 else False) |
123 | 123 |
self.ui.radioButtonDiagonalNo.setChecked(True if size == -1 else False) |
124 | 124 |
else: |
125 |
self.ui.radioButtonDiagonalYes.setChecked(True) |
|
126 |
self.ui.radioButtonDiagonalNo.setChecked(False) |
|
125 |
self.ui.radioButtonDiagonalYes.setChecked(False) |
|
126 |
self.ui.radioButtonDiagonalNo.setChecked(True) |
|
127 |
|
|
128 |
#configs = docData.getConfigs('Text', 'Back') |
|
129 |
if configs: |
|
130 |
size = int(configs[0].value) |
|
131 |
self.ui.radioButtonDiagonalYes.setChecked(True if size == 1 else False) |
|
132 |
self.ui.radioButtonDiagonalNo.setChecked(True if size == -1 else False) |
|
133 |
else: |
|
134 |
self.ui.radioButtonDiagonalYes.setChecked(False) |
|
135 |
self.ui.radioButtonDiagonalNo.setChecked(True) |
|
127 | 136 |
|
128 | 137 |
properties = docData.getLineProperties() |
129 | 138 |
if properties: |
내보내기 Unified diff