Removed workbench keyboard shortcut W+0. Now only W+1-9 work.
This commit is contained in:
parent
bf19e80de1
commit
e740a42075
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user