File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -539,6 +539,10 @@ bool AnalysisTool::compute_stats() {
539539 return true ;
540540 }
541541
542+ if (session_->is_loading ()) {
543+ return false ;
544+ }
545+
542546 if (session_->get_non_excluded_shapes ().size () == 0 || !session_->particles_present ()) {
543547 return false ;
544548 }
@@ -1523,6 +1527,8 @@ void AnalysisTool::update_pca_group_options() {
15231527 item_widget->setFlags (item_widget->flags () | Qt::ItemIsUserCheckable);
15241528 item_widget->setCheckState (Qt::Checked);
15251529 }
1530+ stats_ready_ = false ;
1531+ compute_stats ();
15261532 }
15271533
15281534 int count = ui_->pca_group_list ->count ();
@@ -1534,9 +1540,6 @@ void AnalysisTool::update_pca_group_options() {
15341540 ui_->pca_group_list ->setMaximumHeight (ui_->pca_group_list ->sizeHintForRow (0 ) * count + 2 );
15351541
15361542 current_pca_group_values_ = values;
1537-
1538- stats_ready_ = false ;
1539- compute_stats ();
15401543}
15411544
15421545// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments