mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
removed milliseconds from saved file name, fixed reset all settings of childrend of a groupbox which is also a prameter
This commit is contained in:
@@ -925,6 +925,10 @@ void PreferencesDialog::resetSettings(QGroupBox * groupBox)
|
||||
if(uContains(defaults, key))
|
||||
{
|
||||
this->setParameter(key, defaults.at(key));
|
||||
if(qobject_cast<const QGroupBox*>(children.at(i)))
|
||||
{
|
||||
this->resetSettings((QGroupBox*)children.at(i));
|
||||
}
|
||||
}
|
||||
else if(qobject_cast<const QGroupBox*>(children.at(i)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user