fix textmode (#1181)

* fix textmode

* Update Key.hpp
This commit is contained in:
TotallyNotElite 2020-11-28 02:17:00 +01:00 committed by GitHub
parent 9c1b236a24
commit d2b3547605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ public:
return VariableType::KEY;
}
// Valid inputs: "Mouse1", "Mouse5", "Key 6", "Key 10", "Key 2", "Space".
void fromString(const std::string &string) override
void fromString(const std::string &string, bool = false) override
{
}
// Variable & causes segfault with gcc optimizations + these dont even