mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-07 16:07:45 +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:
parent
cd8ee0c85d
commit
32fa694cf8
@ -23296,3 +23296,7 @@
|
||||
2022-09-13 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Modified the Button Log widget in rdairplay(1) so as to display
|
||||
cut-level attributes only after the definitive cut has been selected.
|
||||
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.
|
||||
|
@ -648,6 +648,7 @@ void EditLog::timestyleChangedData(int index)
|
||||
{
|
||||
bool changed=edit_changed;
|
||||
edit_log_model->setStartTimeStyle((RDLogModel::StartTimeStyle)index);
|
||||
global_start_time_style=index;
|
||||
if(!changed) {
|
||||
SetLogModified(false);
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -47,6 +47,10 @@ class MainWidget : public RDMainWindow
|
||||
QSize sizeHint() const;
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
||||
protected:
|
||||
void loadLocalSettings(RDProfile *p);
|
||||
void saveLocalSettings(FILE *f) const;
|
||||
|
||||
private slots:
|
||||
void caeConnectedData(bool state);
|
||||
void userData();
|
||||
|
Loading…
x
Reference in New Issue
Block a user