From 8f66767c1392f37c8a1fdd499221bd48c33d67bb Mon Sep 17 00:00:00 2001 From: Tristan Youngs Date: Fri, 22 Dec 2017 16:48:48 +0000 Subject: [PATCH] OpenTrajectory dialog did not set the initial state of the CacheAll checkbox. --- src/gui/opentrajectory_funcs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/opentrajectory_funcs.cpp b/src/gui/opentrajectory_funcs.cpp index 172e40027..9e52b97a9 100644 --- a/src/gui/opentrajectory_funcs.cpp +++ b/src/gui/opentrajectory_funcs.cpp @@ -122,6 +122,7 @@ void AtenOpenTrajectory::updateStandardOptionsFromPlugin() if (!plugin) return; ui.BohrCheck->setChecked(plugin->standardOptions().isSetAndOn(FilePluginStandardImportOptions::CoordinatesInBohrSwitch)); + ui.CacheFramesCheck->setChecked(plugin->standardOptions().isSetAndOn(FilePluginStandardImportOptions::CacheAllSwitch)); ui.PreventRebondingCheck->setChecked(plugin->standardOptions().isSetAndOn(FilePluginStandardImportOptions::PreventRebondingSwitch)); ui.PreventFoldingCheck->setChecked(plugin->standardOptions().isSetAndOn(FilePluginStandardImportOptions::PreventFoldingSwitch)); ui.PreventPackingCheck->setChecked(plugin->standardOptions().isSetAndOn(FilePluginStandardImportOptions::PreventPackingSwitch));