Changeset 8203c075d5 in tspsg


Ignore:
Timestamp:
Feb 21, 2010, 10:14:16 PM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
11086c2def
Parents:
3e46075789
Message:
  • Fixed non-showing solution steps' matrices if city limit was disabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.cpp

    r3e46075789 r8203c075d5  
    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.