mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
wxConfigBase::HasGroup() does not seem to deal with absolute paths on 2.5.x on Windows.
This commit is contained in:
parent
d582ecc89e
commit
512c4ef2d2
@ -1,3 +1,8 @@
|
||||
2005-02-27 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: bug fix: The job queue was not loaded on startup on Windows
|
||||
Unicode builds (another wxWidgets 2.5.3 problem).
|
||||
|
||||
2005-02-26 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: bug fix: The job status in the job runner dialog was broken
|
||||
|
@ -1742,12 +1742,15 @@ mmg_dialog::load_job_queue() {
|
||||
if (!cfg->Read(wxT("number_of_jobs"), &num))
|
||||
return;
|
||||
|
||||
for (i = 0; i < jobs.size(); i++)
|
||||
for (i = 0; i < jobs.size(); i++) {
|
||||
delete jobs[i].description;
|
||||
delete jobs[i].log;
|
||||
}
|
||||
jobs.clear();
|
||||
|
||||
for (i = 0; i < num; i++) {
|
||||
s.Printf(wxT("/jobs/%u"), i);
|
||||
cfg->SetPath(wxT("/jobs"));
|
||||
s.Printf(wxT("%u"), i);
|
||||
if (!cfg->HasGroup(s))
|
||||
continue;
|
||||
cfg->SetPath(s);
|
||||
|
Loading…
Reference in New Issue
Block a user