no message

This commit is contained in:
zcy 2022-10-04 23:49:22 +08:00
parent 3710f0432b
commit 9ca8802ac7
2 changed files with 1 additions and 3 deletions

View File

@ -643,8 +643,7 @@ void BasicForm::InitWindow(){
} }
LuaBindInterface* BasicForm::FindCurrentFormByLuaPointer(lua_State* pointer) LuaBindInterface* BasicForm::FindCurrentFormByLuaPointer(lua_State* pointer) {
{
for (auto itr = mUartForm.begin(); itr != mUartForm.end(); itr++) { for (auto itr = mUartForm.begin(); itr != mUartForm.end(); itr++) {
if (itr->second->LuaVM()->VM() == pointer) { if (itr->second->LuaVM()->VM() == pointer) {
return (LuaBindInterface*)itr->second; return (LuaBindInterface*)itr->second;

View File

@ -93,7 +93,6 @@ void WebsocketServerForm::Init()
}); });
} }
if (nullptr != m_btn_save_lua) if (nullptr != m_btn_save_lua)
m_btn_save_lua->AttachClick( m_btn_save_lua->AttachClick(
[this](ui::EventArgs* ev) { [this](ui::EventArgs* ev) {