fix: menu not updating with Tray.setContextMenu (#21883)
This commit is contained in:
parent
edafbc43e1
commit
2743d60f52
1 changed files with 1 additions and 1 deletions
|
@ -38,8 +38,8 @@ void TrayIconGtk::SetToolTip(const std::string& tool_tip) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TrayIconGtk::SetContextMenu(AtomMenuModel* menu_model) {
|
void TrayIconGtk::SetContextMenu(AtomMenuModel* menu_model) {
|
||||||
icon_->UpdatePlatformContextMenu(menu_model_);
|
|
||||||
menu_model_ = menu_model;
|
menu_model_ = menu_model;
|
||||||
|
icon_->UpdatePlatformContextMenu(menu_model_);
|
||||||
}
|
}
|
||||||
|
|
||||||
const gfx::ImageSkia& TrayIconGtk::GetImage() const {
|
const gfx::ImageSkia& TrayIconGtk::GetImage() const {
|
||||||
|
|
Loading…
Add table
Reference in a new issue