Fixed segfault
This commit is contained in:
parent
ca17bdb214
commit
736309ef1f
|
@ -235,7 +235,10 @@ void Workspaces::doUpdate() {
|
||||||
auto wName = wNameRaw.starts_with("special:") ? wNameRaw.substr(8) : wNameRaw;
|
auto wName = wNameRaw.starts_with("special:") ? wNameRaw.substr(8) : wNameRaw;
|
||||||
return wName == workspace->name();
|
return wName == workspace->name();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (updated_workspace != updated_workspaces.end()) {
|
||||||
workspace->setOutput((*updated_workspace)["monitor"].asString());
|
workspace->setOutput((*updated_workspace)["monitor"].asString());
|
||||||
|
}
|
||||||
|
|
||||||
workspace->update(m_format, workspaceIcon);
|
workspace->update(m_format, workspaceIcon);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue