forked from teamnwah/openmw-tes3coop
Change ctl to ctrl in OpenMW-CS shortcut manager
This commit is contained in:
parent
b73ed5ccac
commit
97ff24b8d6
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ namespace CSMPrefs
|
||||||
if (mods && i == 0)
|
if (mods && i == 0)
|
||||||
{
|
{
|
||||||
if (mods & Qt::ControlModifier)
|
if (mods & Qt::ControlModifier)
|
||||||
result.append("Ctl+");
|
result.append("Ctrl+");
|
||||||
if (mods & Qt::ShiftModifier)
|
if (mods & Qt::ShiftModifier)
|
||||||
result.append("Shift+");
|
result.append("Shift+");
|
||||||
if (mods & Qt::AltModifier)
|
if (mods & Qt::AltModifier)
|
||||||
|
@ -196,7 +196,7 @@ namespace CSMPrefs
|
||||||
|
|
||||||
std::string name = value.substr(start, end - start);
|
std::string name = value.substr(start, end - start);
|
||||||
|
|
||||||
if (name == "Ctl")
|
if (name == "Ctrl")
|
||||||
{
|
{
|
||||||
mods |= Qt::ControlModifier;
|
mods |= Qt::ControlModifier;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue