Fixed File Operations -> Delete with output from queue does not delete the
associated *.pp3 file on behalf of Lebedev, see issue 1485
This commit is contained in:
parent
64c51e5a4b
commit
339e48fa3d
@ -745,6 +745,10 @@ void FileCatalog::deleteRequested (std::vector<FileBrowserEntry*> tbe, bool inc
|
||||
if (inclBatchProcessed) {
|
||||
Glib::ustring procfName = Glib::ustring::compose ("%1.%2", BatchQueue::calcAutoFileNameBase(fname), options.saveFormatBatch.format);
|
||||
if (safe_file_test (procfName, Glib::FILE_TEST_EXISTS)) safe_g_remove (procfName);
|
||||
|
||||
// delete paramfile if found
|
||||
Glib::ustring procfNameParamFile = Glib::ustring::compose ("%1.%2.out%3", BatchQueue::calcAutoFileNameBase(fname), options.saveFormatBatch.format, paramFileExtension);
|
||||
if (safe_file_test (procfNameParamFile, Glib::FILE_TEST_EXISTS)) safe_g_remove (procfNameParamFile);
|
||||
}
|
||||
|
||||
previewsLoaded--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user