add optin to delete saved license info

This commit is contained in:
Martin Michelsen
2022-06-04 22:56:18 -07:00
parent 35d9f12e0a
commit 9d2f845418
3 changed files with 8 additions and 0 deletions
+5
View File
@@ -789,6 +789,11 @@ void process_menu_selection(shared_ptr<ServerState> s, shared_ptr<Client> c,
c->should_disconnect = true;
break;
case MainMenuItemID::CLEAR_LICENSE:
send_command(c, 0x9A, 0x04);
c->should_disconnect = true;
break;
default:
send_message_box(c, u"Incorrect menu item ID.");
break;