mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
GUI: Fixed loaded parameters not actually modified from opened database
This commit is contained in:
@@ -3797,10 +3797,7 @@ void MainWindow::openDatabase(const QString & path)
|
||||
QMessageBox::Yes);
|
||||
if(r == QMessageBox::Yes)
|
||||
{
|
||||
for(rtabmap::ParametersMap::const_iterator iter = differentParameters.begin(); iter!=differentParameters.end(); ++iter)
|
||||
{
|
||||
_preferencesDialog->setParameter(iter->first.c_str(), iter->second.c_str());
|
||||
}
|
||||
_preferencesDialog->updateParameters(differentParameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user