mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Merge branch 'dev_dylan' into temperature_test
This commit is contained in:
commit
0d0c4f913e
2 files changed
+15
-2
No files matched your search
@@ -73,8 +73,12 @@ class ComboBoxDelegate(QItemDelegate):
|
||||
)
|
||||
)
|
||||
)
|
||||
elif self._mode == "rk":
|
||||
self.editor.addItems(
|
||||
list(map(str, self._data.reach.get_rk()))
|
||||
)
|
||||
|
||||
self.editor.setCurrentText(index.data(Qt.DisplayRole))
|
||||
self.editor.setCurrentText(str(index.data(Qt.DisplayRole)))
|
||||
return self.editor
|
||||
|
||||
def setEditorData(self, editor, index):
|
||||
|
||||
Reference in new issue
Block a user