mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-09-17 17:00:27 +02:00
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused a newly created schedule code to persist even if its creation was abandoned halfway through the creation process. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
d51c4c2e4c
commit
5ec0d7681a
@ -22284,3 +22284,7 @@
|
||||
2021-08-15 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdadmin(1) that threw a SQL error when
|
||||
attempting to create a new Replicator entry.
|
||||
2021-08-16 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdadmin(1) that caused a newly created schedule
|
||||
code to persist even if its creation was abandoned halfway through
|
||||
the creation process.
|
||||
|
@ -120,12 +120,11 @@ void ListSchedCodes::addData()
|
||||
{
|
||||
QString scode;
|
||||
|
||||
if(list_add_schedcode_dialog->exec(&scode)) {
|
||||
if(list_edit_schedcode_dialog->exec(scode)) {
|
||||
QModelIndex index=list_schedcodes_model->addSchedCode(scode);
|
||||
if(index.isValid()) {
|
||||
list_schedcodes_view->selectRow(index.row());
|
||||
}
|
||||
if(list_add_schedcode_dialog->exec(&scode)&&
|
||||
list_edit_schedcode_dialog->exec(scode)) {
|
||||
QModelIndex index=list_schedcodes_model->addSchedCode(scode);
|
||||
if(index.isValid()) {
|
||||
list_schedcodes_view->selectRow(index.row());
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user