Added support for checking the type of newly added dummy

Authored by Dmitry Kazakov <dimula73@gmail.com>.

Description

Added support for checking the type of newly added dummy

We should not call QAbstractItemModel::beginInsertRows if this dummy
has a type which will not be shown in the layers tree. This feature
was planned, I simply forgot about it.

BUG:294895

Details

Committed
Dmitry Kazakov <dimula73@gmail.com>Feb 27 2012, 9:18 AM
Parents
R8:a8a99c4dc5f6: Fixed misbehaving encoding selection when importing a CSV file
Branches
Unknown
Tags
Unknown
Dmitry Kazakov <dimula73@gmail.com> committed R8:59bcfb82981f: Added support for checking the type of newly added dummy (authored by Dmitry Kazakov <dimula73@gmail.com>).Feb 27 2012, 9:18 AM