diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-07 13:31:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-07 13:31:16 +0100 |
commit | 15436c009e756dd4c94046f9849ad5a186454af8 (patch) | |
tree | ba7caa491e32aa68fa178de2797e0fb25a4e2802 /vcl | |
parent | c450705d51a4fe67d1e9391b2f78235b79766cfe (diff) |
gtk3: move the updating of native menu to right after its activated
try fix that view->toolbars isn't in sync
Change-Id: I095be3003f076193878f2c3ce2a2be5acbe0e33f
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/gtksalmenu.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index a13bb6d26242..19fd6a085246 100644 --- a/vcl/unx/gtk/gtksalmenu.cxx +++ b/vcl/unx/gtk/gtksalmenu.cxx @@ -1025,6 +1025,7 @@ void GtkSalMenu::Activate(const gchar* pCommand) Menu* pVclMenu = pSalMenu->GetMenu(); Menu* pVclSubMenu = pVclMenu->GetPopupMenu(aMenuAndId.second); pTopLevel->GetMenu()->HandleMenuActivateEvent(pVclSubMenu); + pVclSubMenu->UpdateNativeMenu(); } void GtkSalMenu::Deactivate(const gchar* pCommand) |