Skip to content
Snippets Groups Projects
Commit a45c35b3 authored by Matthias Puchner's avatar Matthias Puchner
Browse files

fix project reading error introduced with global renaming "OffSpecInstrument"...

fix project reading error introduced with global renaming "OffSpecInstrument" -> "OffSpecularInstrument"
parent 871f62a8
No related branches found
No related tags found
1 merge request!83fix project reading error introduced with global renaming of "OffSpecInstrument"
Pipeline #37664 passed
......@@ -79,6 +79,9 @@ ItemCatalog::ItemCatalog()
add("InterferenceRadialParaCrystal", create_new<InterferenceFunctionRadialParaCrystalItem>);
add("GISASInstrument", create_new<GISASInstrumentItem>);
add("OffSpecularInstrument", create_new<OffSpecularInstrumentItem>);
// the following line is necessary for loading BornAgain projects which have been created before
// global renaming to "OffSpecularInstrument"
add("OffSpecInstrument", create_new<OffSpecularInstrumentItem>);
add("SpecularInstrument", create_new<SpecularInstrumentItem>);
addItem<GISASBeamItem>();
addItem<SpecularBeamItem>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment