2022-12-14 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlogedit(1) that broke the 'Estimated' start
	time mode.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-12-14 14:02:51 -05:00
parent d37c923e64
commit ed968656c6
3 changed files with 9 additions and 3 deletions

View File

@@ -23815,3 +23815,6 @@
to prevent entry of an empty comment.
2022-12-13 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 4.0.0rc0int8
2022-12-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogedit(1) that broke the 'Estimated' start
time mode.

View File

@@ -118,9 +118,11 @@ void RDLogLine::clear()
log_pass=0;
log_source=RDLogLine::Manual;
log_cart_number=0;
for(int i=0;i<5;i++) {
log_start_time[i]=QTime(0,0,0);
}
log_start_time[RDLogLine::Imported]=QTime(0,0,0);
log_start_time[RDLogLine::Logged]=QTime(0,0,0);
log_start_time[RDLogLine::Predicted]=QTime();
log_start_time[RDLogLine::Actual]=QTime(0,0,0);
log_start_time[RDLogLine::Initial]=QTime(0,0,0);
log_time_type=RDLogLine::Relative;
log_origin_user="";
log_origin_datetime=QDateTime();

View File

@@ -532,6 +532,7 @@ int EditLog::exec(const QString &logname,QStringList *new_logs)
serviceActivatedData(edit_service_box->currentText());
SetLogModified(false);
UpdateTracks();
timestyleChangedData(edit_timestyle_box->currentIndex());
//
// Set Control Perms