Commit 6451f553 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

fix workspaces handling

parent defe20e4
......@@ -347,7 +347,11 @@ void dtkWidgetsWorkspaceBar::createWorkspace(const QString &name, const QString&
QColor color = d->>workspaces.indexOf(name,0) % d->colors.count()) ;
if (!d->workspaces.contains(name))
d->workspaces << name;
int index = d->workspaces.indexOf(name) % d->colors.count();
QColor color = d-> ;
d->createWorkspace(color, name, display_destroy);
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