Commit fe5bb7bd authored by Samuel GAIST's avatar Samuel GAIST

[widgets][protocoltemplateeditor] Fix dataformat list

The template protocols usable dataformat list does not
contain the base types.

Part of #246
Related to !128
parent d9c5aa88
...@@ -42,7 +42,6 @@ from ..widgets.protocoltemplateeditor import SetWidget ...@@ -42,7 +42,6 @@ from ..widgets.protocoltemplateeditor import SetWidget
def dataformat_model(test_prefix): def dataformat_model(test_prefix):
asset_model = DataFormatModel() asset_model = DataFormatModel()
asset_model.prefix_path = test_prefix asset_model.prefix_path = test_prefix
asset_model.full_list_enabled = True
return asset_model return asset_model
......
...@@ -187,7 +187,6 @@ class ProtocolTemplateEditor(AbstractAssetEditor): ...@@ -187,7 +187,6 @@ class ProtocolTemplateEditor(AbstractAssetEditor):
self.set_title(self.tr("Protocol Template")) self.set_title(self.tr("Protocol Template"))
self.dataformat_model = DataFormatModel() self.dataformat_model = DataFormatModel()
self.dataformat_model.full_list_enabled = True
self.scroll_widget = ScrollWidget() self.scroll_widget = ScrollWidget()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment