From 8f82f04153e56e92e597af3136f838b8f173b33d Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 25 Jan 2017 20:29:27 +0100 Subject: [PATCH] Copy menu title in CONTEXT_MENU::copyFrom() --- common/tool/context_menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/tool/context_menu.cpp b/common/tool/context_menu.cpp index 8c99da3619..c7fb43f3ea 100644 --- a/common/tool/context_menu.cpp +++ b/common/tool/context_menu.cpp @@ -355,6 +355,7 @@ void CONTEXT_MENU::runOnSubmenus( std::function aFunction ) void CONTEXT_MENU::copyFrom( const CONTEXT_MENU& aMenu ) { + SetTitle( aMenu.GetTitle() ); m_icon = aMenu.m_icon; m_titleDisplayed = aMenu.m_titleDisplayed; m_selected = -1; // aMenu.m_selected;