summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/action.cpp')
-rw-r--r--gui/action.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index b77e7e751..c471533ef 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -824,6 +824,11 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
return 0;
}
+ if (function == "setbrightness")
+ {
+ return TWFunc::Set_Brightness(arg);
+ }
+
if (isThreaded)
{
if (function == "fileexists")