mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Bazaar/XMLMenu : on custom command send command string instead of id
git-svn-id: svn://ultimatepp.org/upp/trunk@4250 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ac5b0c74ba
commit
5bef2c18a1
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ template<class T> void WithXMLMenu<T>::SetToolBar0(Bar &bar, int tbIdx, Array<XM
|
|||
bool isCustom = cmd.GetIsCustom();
|
||||
Callback handler;
|
||||
if(isCustom)
|
||||
handler = THISBACK1(callUserHandler, id);
|
||||
handler = THISBACK1(callUserHandler, cmd.GetCommandString());
|
||||
else
|
||||
handler = cmd.GetCallback();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue