mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2022-09-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogedit(1) that caused the default setting of the 'Show Start Times As' dropdown in the 'Edit Log' dialog to fail to be preserved across instances. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -79,6 +79,8 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
}
|
||||
}
|
||||
|
||||
loadSettings(true);
|
||||
|
||||
//
|
||||
// CAE Connection
|
||||
//
|
||||
@@ -189,8 +191,6 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
tr("User")+": ["+tr("Unknown")+"]");
|
||||
|
||||
log_resize=true;
|
||||
|
||||
loadSettings(true);
|
||||
}
|
||||
|
||||
|
||||
@@ -206,6 +206,21 @@ QSizePolicy MainWidget::sizePolicy() const
|
||||
}
|
||||
|
||||
|
||||
void MainWidget::loadLocalSettings(RDProfile *p)
|
||||
{
|
||||
printf("RDLogEdit loadLocalSettings()\n");
|
||||
global_start_time_style=
|
||||
p->intValue("rdlogedit","StartTimeStyle",(int)RDLogModel::Estimated);
|
||||
}
|
||||
|
||||
|
||||
void MainWidget::saveLocalSettings(FILE *f) const
|
||||
{
|
||||
printf("RDLogEdit saveLocalSettings()\n");
|
||||
fprintf(f,"StartTimeStyle=%d\n",global_start_time_style);
|
||||
}
|
||||
|
||||
|
||||
void MainWidget::caeConnectedData(bool state)
|
||||
{
|
||||
QList<int> cards;
|
||||
|
Reference in New Issue
Block a user