Skip to content

Commit

Permalink
GMP: 1.EXP::5.Solutions - a bug causing crash fixed regarding changin…
Browse files Browse the repository at this point in the history
…g #channels with solutions after initail initialization ...
  • Loading branch information
alexsav815 committed Apr 12, 2024
1 parent 233c698 commit db8c2f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions programs/us_experiment/us_exp_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,11 @@ void US_ExperGuiSolutions::savePanel()
else
{
qDebug() << "sol save 2aBd, ii, rpSolut->chsols.size(): -- " << ii << rpSolut->chsols.size();
ch_comment = rpSolut->chsols[ ii ].ch_comment;
if ( ii < rpSolut->chsols.size() )
ch_comment = rpSolut->chsols[ ii ].ch_comment;
else
ch_comment = QString(""); //are comments saved this way???
qDebug() << "sol save 2aBd, ii, rpSolut->chsols.size(): after reding comment-- ";
if ( solution_comment_init[ ii ] )
commentStrings( solution, ch_comment, cs, ii );
qDebug() << "sol save 2aBd_1: went through 1st time NON-zero";
Expand Down Expand Up @@ -2522,7 +2526,6 @@ DbgLv(1) << "EGSo: svP: sids " << sids;
cb_solution->disconnect();

}

}

// Get a specific panel value
Expand Down

0 comments on commit db8c2f7

Please sign in to comment.