Commit ae410a3d authored by Boudewijn Rempt's avatar Boudewijn Rempt

Allow creating a group if the current node is a mask

BUG:394832
parent 807aebf9
......@@ -2466,7 +2466,7 @@
<whatsThis></whatsThis>
<toolTip>Create a group layer containing selected layers</toolTip>
<iconText>Quick Group</iconText>
<activationFlags>100000</activationFlags>
<activationFlags>1000</activationFlags>
<activationConditions>0</activationConditions>
<shortcut>Ctrl+G</shortcut>
<isCheckable>false</isCheckable>
......
......@@ -1055,8 +1055,7 @@ namespace KisLayerUtils {
while (it != nodes.end()) {
if ((!allowMasks && !qobject_cast<KisLayer*>(it->data())) ||
checkIsChildOf(*it, nodes)) {
qDebug() << "Skipping node" << ppVar((*it)->name());
//qDebug() << "Skipping node" << ppVar((*it)->name());
it = nodes.erase(it);
} else {
++it;
......
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