mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump chromium to 106.0.5216.0 (main) (#34993)
This commit is contained in:
committed by
GitHub
parent
e15e66f229
commit
97b353a30a
@@ -210,7 +210,7 @@ void Menu::Clear() {
|
||||
}
|
||||
|
||||
int Menu::GetIndexOfCommandId(int command_id) const {
|
||||
return model_->GetIndexOfCommandId(command_id);
|
||||
return model_->GetIndexOfCommandId(command_id).value_or(-1);
|
||||
}
|
||||
|
||||
int Menu::GetItemCount() const {
|
||||
|
||||
Reference in New Issue
Block a user