diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 87597606d..084c9f10f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1587,9 +1587,10 @@ void MainWindow::importTxtFiles(const QStringList fileNames) void MainWindow::loadFiles(const QStringList fileNames) { bool showWarning = false; - if (fileNames.isEmpty()) + if (fileNames.isEmpty()) { + refreshDisplay(); return; - + } QByteArray fileNamePtr; QStringList failedParses; |