Skip to content

Commit

Permalink
[yarpdataplayer] resetting sendstrict upon new dataset
Browse files Browse the repository at this point in the history
fixes #941
  • Loading branch information
Vadim Tikhanoff committed Nov 3, 2016
1 parent f619c47 commit 9f04b34
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/yarpdataplayer-qt/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,19 @@ QTreeWidgetItem * MainWindow::getRowByPart(QString szName )
/**********************************************************/
void MainWindow::onMenuFileOpen()
{
if(ui->actionRepeat->isChecked()){
if(ui->actionRepeat->isChecked())
{
LOG("repeat mode is activated, setting it to false\n");
utilities->repeat = false;
ui->actionRepeat->setChecked(false);
}

if (ui->actionStrict->isChecked())
{
LOG("send strict mode is activated, setting it to false\n");
utilities->sendStrict = false;
ui->actionStrict->setChecked(false);
}
QString dir = QFileDialog::getExistingDirectory(this, tr("Please choose a folder"),
QDir::homePath(),
QFileDialog::ShowDirsOnly
Expand Down

0 comments on commit 9f04b34

Please sign in to comment.