remove backwards compatibility

This commit is contained in:
iLLiCiTiT 2020-12-18 19:41:57 +01:00
parent 3564be679b
commit c32a9766f7

View file

@ -1610,14 +1610,6 @@ class ListWidget(QtWidgets.QWidget, InputObject):
self.item_schema = {
"type": object_type
}
# Backwards compatibility
input_modifiers = schema_data.get("input_modifiers") or {}
if input_modifiers:
self.log.warning((
"Used deprecated key `input_modifiers` to define item."
" Rather use `object_type` as dictionary with modifiers."
))
self.item_schema.update(input_modifiers)
def create_ui(self, label_widget=None):
layout = QtWidgets.QHBoxLayout(self)