Lubomir I. Ivanov
a2a93ff04b
Models: fix two potential crashes
...
CylinderModels::setDive() and WeightModel::setDive() have
potential to pass the 'last' argument to beginInsertRows() as
a negative number which triggers an assert that 'last' cannot
be smaller than 'first'.
Patch attempts to fix that by only calling beginInsertRows()
when there is at least one row to insert.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-10-13 11:31:25 -07:00
..
2013-09-02 05:57:08 -03:00
2013-05-18 09:49:37 -07:00
2013-10-03 12:13:48 -07:00
2013-10-03 12:13:48 -07:00
2013-07-11 09:22:20 -03:00
2013-08-13 20:29:22 +02:00
2013-08-13 10:30:22 -03:00
2013-10-11 10:21:04 -03:00
2013-10-03 12:13:48 -07:00
2013-06-18 00:24:28 -07:00
2013-10-11 10:21:04 -03:00
2013-10-11 10:21:04 -03:00
2013-10-11 20:26:28 -07:00
2013-10-06 10:41:44 -07:00
2013-10-05 19:48:39 -07:00
2013-10-11 10:21:04 -03:00
2013-10-03 12:13:48 -07:00
2013-09-16 22:40:47 -03:00
2013-10-13 11:30:36 -07:00
2013-06-19 10:20:56 -07:00
2013-09-16 19:21:13 -03:00
2013-09-16 19:21:13 -03:00
2013-09-18 23:23:04 -03:00
2013-05-17 22:27:50 -07:00
2013-10-11 10:21:04 -03:00
2013-10-07 11:48:14 -07:00
2013-10-10 07:11:32 -07:00
2013-10-06 10:42:32 -07:00
2013-10-03 12:13:48 -07:00
2013-09-26 16:55:41 -03:00
2013-10-11 10:21:04 -03:00
2013-10-03 09:38:37 -07:00
2013-10-13 11:31:25 -07:00
2013-10-11 11:42:33 -03:00
2013-04-13 20:44:02 -07:00
2013-04-13 20:44:02 -07:00
2013-10-04 09:16:39 -07:00
2013-10-03 12:13:48 -07:00
2013-10-04 09:16:39 -07:00
2013-07-18 12:00:12 -07:00
2013-07-10 19:27:10 +03:00
2013-10-07 09:29:40 -07:00
2013-10-03 09:38:37 -07:00
2013-10-03 12:13:48 -07:00
2013-10-03 12:13:48 -07:00
2013-07-10 10:50:33 +03:00
2013-10-11 10:18:07 -07:00
2013-10-11 10:18:07 -07:00
2013-10-01 09:47:33 -07:00
2013-10-11 10:21:04 -03:00
2013-10-03 15:45:06 -07:00
2013-05-22 21:31:45 -07:00
2013-06-19 10:20:56 -07:00
2013-10-11 10:50:40 -03:00
2013-10-03 12:13:48 -07:00
2013-06-06 11:31:55 -03:00
2013-10-03 12:13:48 -07:00
2013-10-03 12:13:48 -07:00
2013-09-26 20:35:30 -03:00