diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index 93f7dbe1..e128b080 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -1857,7 +1857,12 @@ void MainWindow::on_act_save_triggered() assert(!m_currFilePath.isEmpty()); if (0 == m_currFilePath.indexOf(Dialog_ClrCache::getCachePath())) { - QString savePath = auto_save_info_.path; + QString savePath; + if (!auto_save_changes_) + savePath = auto_save_info_.path; + else + savePath = m_currFilePath; + int jpegQuality = auto_save_info_.jpegQuality; int tiffCompressionBW = auto_save_info_.tiffCompressionBW; int tiffCompression = auto_save_info_.tiffCompression;