mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-10-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogmanager(1) that caused a clock to be created without a scheduler rules context when using 'Save As'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22542,3 +22542,6 @@
|
|||||||
2021-10-26 Fred Gleason <fredg@paravelsystems.com>
|
2021-10-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a regression in rdlogmanager(1) that broke editing of
|
* Fixed a regression in rdlogmanager(1) that broke editing of
|
||||||
scheduler rules.
|
scheduler rules.
|
||||||
|
2021-10-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in rdlogmanager(1) that caused a clock to
|
||||||
|
be created without a scheduler rules context when using 'Save As'.
|
||||||
|
|||||||
@@ -481,6 +481,8 @@ void EditClock::saveAsData()
|
|||||||
edit_clocks_model->setClockName(clockname);
|
edit_clocks_model->setClockName(clockname);
|
||||||
|
|
||||||
Save();
|
Save();
|
||||||
|
sched_rules_list->Save(clockname);
|
||||||
|
edit_clocks_model->setRulesModified(false);
|
||||||
edit_new_clocks->push_back(clockname);
|
edit_new_clocks->push_back(clockname);
|
||||||
CopyClockPerms(old_name,clockname);
|
CopyClockPerms(old_name,clockname);
|
||||||
if(edit_new_clock) {
|
if(edit_new_clock) {
|
||||||
@@ -583,8 +585,7 @@ void EditClock::Save()
|
|||||||
edit_clocks_model->setShortName(edit_shortname_edit->text());
|
edit_clocks_model->setShortName(edit_shortname_edit->text());
|
||||||
edit_clocks_model->setRemarks(edit_remarks_edit->toPlainText());
|
edit_clocks_model->setRemarks(edit_remarks_edit->toPlainText());
|
||||||
edit_clocks_model->save();
|
edit_clocks_model->save();
|
||||||
if(edit_clocks_model->getRulesModified())
|
if(edit_clocks_model->getRulesModified()) {
|
||||||
{
|
|
||||||
sched_rules_list->Save(edit_clocks_model->clockName());
|
sched_rules_list->Save(edit_clocks_model->clockName());
|
||||||
edit_clocks_model->setRulesModified(false);
|
edit_clocks_model->setRulesModified(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user