trying to clear the context menu, but that does not work

This commit is contained in:
2026-04-30 11:53:08 +02:00
parent be980dbffd
commit b53597396c
5 changed files with 42 additions and 6 deletions
+6
View File
@@ -384,6 +384,12 @@ void Handler::run()
result_queue->enqueue(r);
}
break;
case CMD_TRAY_CLEAR_MENU: {
int tray = data_obj["wv"].toInt();
result_t r = webview_handler->rktTraySetMenu(tray, nullptr);
result_queue->enqueue(r);
}
break;
case CMD_TRAY_SET_MENU: {
int tray = data_obj["wv"].toInt();
QString menu_json = data_obj["menu_json"].toString();