mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Delete the job file itself along with the job data.
This commit is contained in:
parent
3d24c4e550
commit
cbdd217586
@ -1,3 +1,8 @@
|
||||
2004-06-13 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: new feature: The action 'delete job' in the job manager
|
||||
will also delete the file in the 'jobs' subdirectory.
|
||||
|
||||
2004-06-12 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: new feature: Added an option to make mmg stay always on
|
||||
|
@ -560,6 +560,7 @@ job_dialog::on_delete(wxCommandEvent &evt) {
|
||||
i = 0;
|
||||
while (i < jobs.size()) {
|
||||
if (lv_jobs->IsSelected(i)) {
|
||||
wxRemoveFile(wxString::Format(wxT("jobs/%d.mmg"), dit->id));
|
||||
jobs.erase(dit);
|
||||
lv_jobs->DeleteItem(i);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user