mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
Properly set the state of all radio buttons when a project file is loaded. This also affects what happens when "File -> new" is selected. On Windows "split by time" was not selectable anymore after "File -> new" if it had been selected before. Fixes Anthill bug 131.
This commit is contained in:
parent
00c0cb47cb
commit
3a975f4798
@ -1,3 +1,10 @@
|
||||
2005-05-07 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mmg: bug fix: If splitting was enabled and "splitting by time"
|
||||
selected and the user chose "new" from the "File" menu then
|
||||
"splitting by time" was not selectable anymore. This happened
|
||||
only on Windows. Fixes Anthill bug 131.
|
||||
|
||||
2005-05-05 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvextract: bug fix: Use the native newline style when
|
||||
|
@ -368,10 +368,8 @@ tab_global::load(wxConfigBase *cfg) {
|
||||
cfg->Read(wxT("enable_splitting"), &ec);
|
||||
cb_split->SetValue(ec);
|
||||
cfg->Read(wxT("split_by_size"), &er);
|
||||
if (er)
|
||||
rb_split_by_size->SetValue(true);
|
||||
else
|
||||
rb_split_by_time->SetValue(true);
|
||||
rb_split_by_time->SetValue(!er);
|
||||
rb_split_by_size->SetValue(er);
|
||||
cfg->Read(wxT("split_after_bytes"), &s);
|
||||
cob_split_by_size->SetValue(s);
|
||||
cfg->Read(wxT("split_after_time"), &s);
|
||||
|
Loading…
Reference in New Issue
Block a user