Commit fd6bd8a4 authored by Jan Möbius's avatar Jan Möbius
Browse files

Don't append new groupitems, as that is done by the core now; Fixes Bug 357 part 2

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11174 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 36307a68
......@@ -206,7 +206,6 @@ void DataControlPlugin::slotGroup() {
parent = PluginFunctions::objectRoot();
GroupObject* groupItem = new GroupObject( tr("newGroup"), dynamic_cast< GroupObject* >(parent));
groupItem->setName(tr("newGroup ") + QString::number(groupItem->id()));
parent->appendChild( dynamic_cast< BaseObject* >( groupItem ) );
groupItem->setParent( parent );
emit emptyObjectAdded( groupItem->id() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment