labstreaminglayer / App-LabRecorder

An application for streaming one or more LSL streams to disk in XDF file format.
MIT License
124 stars 45 forks source link

loading configuration doesn't work properly #18

Open dmedine opened 5 years ago

dmedine commented 5 years ago

I just noticed that with this latest release the fields Study Root doesn't behave correctly. When I load a saved config file, it fills in the Study Root field with what I had previously saved in the FileName/Template field.

This is a result of a bug on the save side. After saving the configuration file, 'StudyRoot' is equal to the entry I put in the FileName/Template field.

dmedine commented 5 years ago

The offending line: https://github.com/labstreaminglayer/App-LabRecorder/blob/master/src/mainwindow.cpp#L230