Project

General

Profile

Actions

Bug #2361

open

Qt: city_production_model::setData() always early exits

Added by Marko Lindqvist 3 days ago. Updated 3 days ago.

Status:
In Review
Priority:
Normal
Category:
Qt-client
Target version:
Start date:
10/11/2026
Due date:
% Done:

0%

Estimated time:

Description

The city_production_model::setData() condition

if (!index.isValid() || role != Qt::DisplayRole || role != Qt::ToolTipRole)

is always true, since role cannot be simultaneously both Qt::DisplayRole and Qt::ToolTipRole


Files

Actions

Also available in: Atom PDF