Fix ProblemModel::addProblem() method

Authored by antonanikin on Feb 27 2017, 9:28 AM.

Description

Fix ProblemModel::addProblem() method

The patch fixes wrong call of QAbstractItemModel::beginInsertRows() method. Previous version's arguments match the 2-rows adding case but only one row is really added. As a result after adding some problems the Problems View tree widget also displays "dead items" - empty and not-selectable rows:

-SomeProblem1
-SomeProblem2
-
-

Details

Committed
antonanikinFeb 27 2017, 9:28 AM
Parents
R32:c6e8f386aeb5: Pressing "Continue" starts "Debug" if program is not running
Branches
Unknown
Tags
Unknown