diff --git a/app/scanner2/mainwindow.cpp b/app/scanner2/mainwindow.cpp index d4c73a24..e0182dc0 100644 --- a/app/scanner2/mainwindow.cpp +++ b/app/scanner2/mainwindow.cpp @@ -1022,6 +1022,8 @@ void MainWindow::on_newImage(void *image) { emit post_new_image(m_scanFileName); } + + m_scanFileName.clear(); } else if (2 == m_scanType) { @@ -1196,6 +1198,8 @@ void MainWindow::on_newImage(void *image) emit post_new_image(m_scanFileName); ++m_aquireIntoSaveParam.m_fileNameStartIndex; } + + m_scanFileName.clear(); } }