@ -211,22 +211,26 @@ function GmEditorUi:find_id()
end
functionGmEditorUi:insertNew(typename)
localtp=typename
iftypename==nilthen
dialog.showInputPrompt("Class type","Input class type:",COLOR_WHITE,"",self:callback("insertNew"))
return
end
localntype=df[tp]
ifntype==nilthen
dialog.showMessage("Error!","Type '"..tp.." not found",COLOR_LIGHTRED)
iftypename==nilthen
dialog.showInputPrompt("Class type","Input class type or leave empty for auto and '*' for new ptr type auto:",COLOR_WHITE,"",self:callback("insertNew"))