Changeset 91 in tspsg-svn for trunk


Ignore:
Timestamp:
Feb 21, 2010, 10:14:16 PM (15 years ago)
Author:
laleppa
Message:
  • Fixed non-showing solution steps' matrices if city limit was disabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainwindow.cpp

    r89 r91  
    415415                        if (n != spinCities->value()) {
    416416                                output.append("<p>" + tr("Step #%1").arg(n++) + "</p>");
    417                                 if (settings->value("Output/ShowMatrix", DEF_SHOW_MATRIX).toBool() && settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() && (spinCities->value() <= settings->value("Output/ShowMatrixLimit", DEF_SHOW_MATRIX_LIMIT).toInt())) {
     417                                if (settings->value("Output/ShowMatrix", DEF_SHOW_MATRIX).toBool() && (!settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() || (settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() && (spinCities->value() <= settings->value("Output/ShowMatrixLimit", DEF_SHOW_MATRIX_LIMIT).toInt())))) {
    418418                                        outputMatrix(*step, output);
    419419                                }
Note: See TracChangeset for help on using the changeset viewer.