1
0
forked from IPKM/nmreval

bugfix: reader read also previous files

This commit is contained in:
Dominik Demuth 2022-11-28 15:10:07 +01:00
parent 2a011a8653
commit 69206235af

View File

@ -41,6 +41,9 @@ class QFileReader(QtCore.QObject):
return self.readfiles(files)
def readfiles(self, fname: list[str] | str) -> list:
# clear old data
self.data = []
if not isinstance(fname, list):
fname = [fname]