Skip to content

Commit

Permalink
Fix start/end time bug in CSV Exporter (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartimaeus- authored Jul 10, 2022
1 parent e8633fe commit ac15b7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plotjuggler_plugins/StatePublisherCSV/publisher_csv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,16 @@ void StatePublisherCSV::setEnabled(bool enabled)
//--------------------
connect(_ui->buttonGetStart, &QPushButton::clicked, this, [this]() {
_start_time = _previous_time;
_ui->checkBoxFirst->setChecked(false);
_ui->lineEditStart->setEnabled(true);
_ui->lineEditStart->setText(QString::number(_previous_time, 'f', 3));
updateButtonsState();
});
//--------------------
connect(_ui->buttonGetEnd, &QPushButton::clicked, this, [this]() {
_end_time = _previous_time;
_ui->checkBoxLast->setChecked(false);
_ui->lineEditEnd->setEnabled(true);
_ui->lineEditEnd->setText(QString::number(_previous_time, 'f', 3));
updateButtonsState();
});
Expand Down

0 comments on commit ac15b7c

Please sign in to comment.