Removed workbench keyboard shortcut W+0. Now only W+1-9 work.

This commit is contained in:
Yorik van Havre 2016-01-08 10:30:44 -02:00
parent bf19e80de1
commit e740a42075

View File

@ -535,8 +535,8 @@ void WorkbenchGroup::setWorkbenchData(int i, const QString& wb)
workbenches[i]->setToolTip(tip); workbenches[i]->setToolTip(tip);
workbenches[i]->setStatusTip(tr("Select the '%1' workbench").arg(name)); workbenches[i]->setStatusTip(tr("Select the '%1' workbench").arg(name));
workbenches[i]->setVisible(true); workbenches[i]->setVisible(true);
if (i < 10) if (i < 9)
workbenches[i]->setShortcut(QKeySequence(QString::fromUtf8("W,%1").arg(i))); workbenches[i]->setShortcut(QKeySequence(QString::fromUtf8("W,%1").arg(i+1)));
} }
void WorkbenchGroup::refreshWorkbenchList() void WorkbenchGroup::refreshWorkbenchList()