From 108ea81b2b27681f04f248075bafa8db1b24c8d1 Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Sat, 14 Jul 2012 17:24:21 +0200 Subject: [PATCH] Fixed File Operations -> Delete with output from queue does not delete the associated *.pp3 file on behalf of Lebedev, see issue 1485 --- rtgui/filecatalog.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtgui/filecatalog.cc b/rtgui/filecatalog.cc index eac459e51..c4b8047c9 100644 --- a/rtgui/filecatalog.cc +++ b/rtgui/filecatalog.cc @@ -745,6 +745,10 @@ void FileCatalog::deleteRequested (std::vector 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--;