Changeset ab887e4 in subsurface for qt-models


Ignore:
Timestamp:
Mar 11, 2017, 7:27:18 AM (9 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
b8e044d
Parents:
9c2619ea
git-author:
Stefan Fuchs <sfuchs@…> (03/10/17 22:42:20)
git-committer:
Dirk Hohndel <dirk@…> (03/11/17 07:27:18)
Message:

Fix cyclinder table issue "workingpressure" in planner

Fixes the issue that the cylinder table in the planner is messed up after
changing the table header.

Signed-off-by: Stefan Fuchs <sfuchs@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-models/cylindermodel.cpp

    r0eb42b3 rab887e4  
    2121QVariant CylindersModel::headerData(int section, Qt::Orientation orientation, int role) const
    2222{
    23         if (role == Qt::DisplayRole && in_planner() && section == WORKINGPRESS)
     23        if (role == Qt::DisplayRole && orientation == Qt::Horizontal && in_planner() && section == WORKINGPRESS)
    2424                return tr("Start press.");
    2525        else
Note: See TracChangeset for help on using the changeset viewer.