- minor change

This commit is contained in:
Marius Stanciu
2021-10-10 13:10:03 +03:00
parent 0578180253
commit 114e761b35

View File

@@ -201,6 +201,9 @@ class ToolCopperThieving(AppTool):
obj_name = obj.options['name']
self.ui.grb_object_combo.set_value(obj_name)
if obj is None:
self.ui.grb_object_combo.setCurrentIndex(0)
def on_ref_combo_type_change(self):
obj_type = self.ui.ref_combo_type.currentIndex()
self.ui.ref_combo.setRootModelIndex(self.app.collection.index(obj_type, 0, QtCore.QModelIndex()))