improve msr2data handling

It is now checked if a msr-file is already open so that the corresponding
tab is reloaded after msr2data is carried out with a file open request.
This commit is contained in:
2019-04-01 10:32:24 +02:00
parent 5bb47dc9fb
commit 5ab041a4f2
2 changed files with 55 additions and 17 deletions

View File

@@ -38,6 +38,7 @@
#include <QString>
#include <QVector>
#include <QProcess>
#include <QFileInfo>
#include <QtDebug>
@@ -186,6 +187,7 @@ private:
void getTheme();
void fillRecentFiles();
QStringList getRunList(QString runListStr, bool &ok);
bool fileAlreadyOpen(QFileInfo &finfo, int &idx);
};