bugfix: reader read also previous files
This commit is contained in:
parent
2a011a8653
commit
69206235af
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user