Skip to content

Commit

Permalink
Mods for 1.4.1a
Browse files Browse the repository at this point in the history
  • Loading branch information
rklasky committed Dec 13, 2022
1 parent eed5ca7 commit c706b16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions MSSPM_GuiEstimation/nmfEstimationTab01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1816,6 +1816,9 @@ nmfEstimation_Tab1::loadWidgets()

bool okSpecies = loadSpecies();
bool okGuilds = loadGuilds();
if (! okSpecies || ! okGuilds) {
return false;
}

resetVisibleColumns();
if (okSpecies) {
Expand Down Expand Up @@ -1929,6 +1932,10 @@ nmfEstimation_Tab1::loadSpecies()
QLocale locale(QLocale::English);
QString valueWithComma;

if (NumSpecies == 0) {
return false;
}

m_originalSpeciesValuesAll.clear();
m_SpeciesModel = new QStandardItemModel( NumSpecies, fields.size() );
for (int row=0; row<NumSpecies; ++row) {
Expand Down
2 changes: 1 addition & 1 deletion MSSPM_Main/nmfMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,7 @@ void
nmfMainWindow::menu_about()
{
QString name = "Multi-Species Surplus Production Model";
QString version = "MSSPM v1.4.0a ";
QString version = "MSSPM v1.4.1a ";
QString specialAcknowledgement = "";
QString cppVersion = "C++??";
QString mysqlVersion = "?";
Expand Down

0 comments on commit c706b16

Please sign in to comment.