int idBlock = item->data(2,Qt::DisplayRole).toInt();
QVariant v = comboScenes->currentData();
cout << "adding block to scene " << v.toInt() << endl;
- dispatcher->addBlock(idParent, idBlock, v.toInt());
+ dispatcher->addBlock(Dispatcher::Design, idParent, idBlock, v.toInt());
}
// only take the first selected