Skip to content

Commit

Permalink
OpenTrajectory dialog did not set the initial state of the CacheAll c…
Browse files Browse the repository at this point in the history
…heckbox.
  • Loading branch information
trisyoungs committed Dec 22, 2017
1 parent 4a5b02a commit 8f66767
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/opentrajectory_funcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 8f66767

Please sign in to comment.