mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
MainWindow: clear cacheLocalizationsCount when unchecking the option
This commit is contained in:
@@ -4027,6 +4027,10 @@ void MainWindow::applyPrefSettings(PreferencesDialog::PANEL_FLAGS flags)
|
||||
{
|
||||
UDEBUG("General settings changed...");
|
||||
setupMainLayout(_preferencesDialog->isVerticalLayoutUsed());
|
||||
if(!_preferencesDialog->isLocalizationsCountGraphView())
|
||||
{
|
||||
_cachedLocalizationsCount.clear();
|
||||
}
|
||||
if(!_preferencesDialog->isPosteriorGraphView() && _ui->graphicsView_graphView->isVisible())
|
||||
{
|
||||
_ui->graphicsView_graphView->clearPosterior();
|
||||
|
||||
Reference in New Issue
Block a user