Core: Introduce Tab-Bar workbench selector
This commit is contained in:
committed by
Chris Hennes
parent
6c0865a7b9
commit
cd94350df0
@@ -127,6 +127,15 @@ Workbench* WorkbenchManager::active() const
|
||||
return _activeWorkbench;
|
||||
}
|
||||
|
||||
std::string WorkbenchManager::activeName() const
|
||||
{
|
||||
std::string activeWbName = "";
|
||||
if (_activeWorkbench) {
|
||||
activeWbName = _activeWorkbench->name();
|
||||
}
|
||||
return activeWbName;
|
||||
}
|
||||
|
||||
std::list<std::string> WorkbenchManager::workbenches() const
|
||||
{
|
||||
std::list<std::string> wb;
|
||||
|
||||
Reference in New Issue
Block a user