Page MenuHomePhabricator

QTableWidget in Statistics view should not be editable
Closed, ResolvedPublic

Description

Currently, the table widget in the statistics view is editable. How to reproduce:

  • Open Statistic view
  • Double click in one of the empty fields
  • Type something i.e. numbers, characters,...

You can also overwrite calculated measurements by the same way.

In my opinion, the table widget should not be editable to avoid manual changes of measurements.

Solution approach:
Set Property "editTrgiggers" of the QTabelWidget (member m_StatisticsTable) to "NoEditTriggers". With this solution, copy and paste will still work.

Event Timeline

This bug could not be fixed within the 2013-06 release and has medium severity. Setting target milestone to unspecified.

This bug could not be fixed within the release 2013-06. Setting its target milestone to unspecified

User petry has pushed new remote branch:

bug-13160-DisableEditingInStatisticsTableWidget

[b82262]: Merge branch 'bug-13160-DisableEditingInStatisticsTableWidget'

Merged commits:

2014-05-21 16:15:03 Moritz Petry [503067]
Disabled editing of items in statistics table widget.