mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: Fixed issue with two 'All' in Navigator #1184
git-svn-id: svn://ultimatepp.org/upp/trunk@8741 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b6038d4d63
commit
ffbfd1d02c
1 changed files with 2 additions and 2 deletions
|
|
@ -435,7 +435,7 @@ void Navigator::NavGroup(bool local)
|
|||
String g = m.nest;
|
||||
if(m.kind == TYPEDEF)
|
||||
g.Trim(max(g.ReverseFind("::"), 0));
|
||||
if(IsNull(m.nest) || CodeBase().namespaces.Find(m.nest) >= 0) {
|
||||
if(IsNull(g) || CodeBase().namespaces.Find(m.nest) >= 0) {
|
||||
if(g.GetCount()) // We want to show the namespace
|
||||
g << '\xff';
|
||||
else
|
||||
|
|
@ -612,7 +612,7 @@ void Navigator::Search()
|
|||
String s = gitem.GetKey(i);
|
||||
if(done.Find(s) < 0) {
|
||||
done.Add(s);
|
||||
scope.Add(gitem.GetKey(i));
|
||||
scope.Add(s);
|
||||
}
|
||||
}
|
||||
scope.ScrollTo(sc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue