OlivetACM/GenClu

Correctly filtering file types on "Previous Events" window

Opened this issue · 1 comments

Currently the program should only show CSV and XLSX filetypes as options to be selected in the "Previous Events" window. However the filter does not seem to work and it allows any files within the folder to be selected. This is poor behavior and just asking for trouble and file corruption. This needs to be fixed.

This could actually be accomplished by regular expressions via:

QStringList filtered = results.filter(QRegExp("(\.xlsx$|\.csv$)"));