Commit e630ede4 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

set objectName to name

parent d7d82914
......@@ -351,6 +351,7 @@ void dtkWidgetsWorkspaceBar::addWorkspaceInMenu(const QString & type, const QStr
void dtkWidgetsWorkspaceBar::createWorkspace(const QString &name, const QString& type, bool display_destroy)
{
dtkWidgetsWorkspace *workspace = dtk::widgets::workspace::pluginFactory().create(type);
workspace->setObjectName(name);
if (!workspace) {
qWarning() << "can't create workspace of type" << type << dtk::widgets::workspace::pluginFactory().keys();
......
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