Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19eaf65
)
ide: Toolbar/MenuItem integration tweak to support specifying master & parent of...
author
Jerome St-Louis
<jerome@ecere.com>
Tue, 28 Feb 2012 00:59:39 +0000
(19:59 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 1 Mar 2012 04:53:40 +0000
(23:53 -0500)
ide/src/ide.ec
patch
|
blob
|
history
diff --git
a/ide/src/ide.ec
b/ide/src/ide.ec
index
d4756b9
..
f7a4714
100644
(file)
--- a/
ide/src/ide.ec
+++ b/
ide/src/ide.ec
@@
-225,8
+225,8
@@
public class ToolButton : public Button
{
if(menuItemPtr)
{
- Window
parent = this.parent
;
- if(
parent && parent.parent && master != parent
)
+ Window
master = this.master
;
+ if(
master && master.parent && !eClass_IsDerived(master._class, class(Stacker))
)
{
MenuItem menuItem = this.menuItem;
BitmapResource bmp;