Disable wireless link type

Always disable wireless link type as it has never worked.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2022-09-04 03:17:35 +00:00
parent 3eb9fbdb7e
commit 13c558ac9f
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 12 additions and 0 deletions

View File

@ -2868,6 +2868,18 @@ bool MainFrame::BindControls()
continue;
}
#else
// Always disable Wireless link for now, this has never worked.
if (cmdtab[i].cmd_id == XRCID("LinkType2Wireless")) {
if (mi)
mi->GetMenu()->Remove(mi);
cmdtab[i].cmd_id = XRCID("NOOP");
cmdtab[i].mi = NULL;
continue;
}
#endif
#ifdef NO_DEBUGGER