mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
lua instances: adopt for last rebases with splitted lua source files
TODO: check/fix lua functionality, not tested yet
This commit is contained in:
@@ -196,7 +196,7 @@ int CLuaInstCCWindow::CCWindowHide(lua_State *L)
|
||||
lua_assert(lua_istable(L,1));
|
||||
CLuaCCWindow *D = CCWindowCheck(L, 1);
|
||||
if (!D) return 0;
|
||||
|
||||
#if 0
|
||||
bool no_restore = false;
|
||||
if (!tableLookup(L, "no_restore", no_restore)) {
|
||||
std::string tmp = "false";
|
||||
@@ -204,7 +204,8 @@ int CLuaInstCCWindow::CCWindowHide(lua_State *L)
|
||||
paramBoolDeprecated(L, tmp.c_str());
|
||||
no_restore = (tmp == "true" || tmp == "1" || tmp == "yes");
|
||||
}
|
||||
D->w->hide(no_restore);
|
||||
#endif
|
||||
D->w->hide();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user