diff options
author | Jeremie Laval <jeremie.laval@gmail.com> | 2012-05-23 18:40:22 +0400 |
---|---|---|
committer | Jeremie Laval <jeremie.laval@gmail.com> | 2012-05-23 18:40:22 +0400 |
commit | 1720df8a47d74aeaa576dfaf43012dafdedfe899 (patch) | |
tree | c847fc9ed8ecfe7078e9d56aa6a0635b33b7a01c /MyDocument.xib.designer.cs | |
parent | 00d13f77e29e0b9ed381af230c27aea761e02e1a (diff) |
[macdoc] Give focus to toolbar search entry when user switch to search tab
Diffstat (limited to 'MyDocument.xib.designer.cs')
-rw-r--r-- | MyDocument.xib.designer.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MyDocument.xib.designer.cs b/MyDocument.xib.designer.cs index 520fc13..afafdc7 100644 --- a/MyDocument.xib.designer.cs +++ b/MyDocument.xib.designer.cs @@ -62,6 +62,9 @@ namespace macdoc [Outlet] MonoMac.AppKit.NSSearchField indexSearchEntry { get; set; } + [Outlet] + MonoMac.AppKit.NSSearchField toolbarSearchEntry { get; set; } + [Action ("IndexItemClicked:")] partial void IndexItemClicked (MonoMac.AppKit.NSTableView sender); @@ -166,6 +169,11 @@ namespace macdoc indexSearchEntry.Dispose (); indexSearchEntry = null; } + + if (toolbarSearchEntry != null) { + toolbarSearchEntry.Dispose (); + toolbarSearchEntry = null; + } } } } |