pqTabbedMultiViewWidget: changes proxy's registration group unexpectedly
pqTabbedMultiViewWidget::pqTabWidget::addAsTab
changes the proxy's registration name in certain cases. This is not correct. If the default name is expected to be different, it should be changed when the layout proxy is registered.
The offending snippet is as follows:
QString name = QString("Layout #%1").arg(tab_count);
if (item->getSMName().startsWith("ViewLayout"))
{
item->rename(name);
}