GUI: can't open file with real data

If create project, add data and save, then it can't be opened.

Problem appeared after MR971

For 2D data:

Screenshot_from_2022-07-13_12-00-27

For 1D data:

Screenshot_from_2022-07-13_12-04-43

Edited by Mikhail Svechnikov