Cleanup lambda expressions and directly address Fadeable properties when adding properties

This commit is contained in:
Alexander Bock
2023-04-12 23:20:53 +02:00
parent 19642e8120
commit 7565a91196
67 changed files with 229 additions and 212 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ LuaTranslation::LuaTranslation()
{
addProperty(_luaScriptFile);
_luaScriptFile.onChange([&]() {
_luaScriptFile.onChange([this]() {
requireUpdate();
_fileHandle = std::make_unique<ghoul::filesystem::File>(_luaScriptFile.value());
_fileHandle->setCallback([this]() {