mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
This mini-patch gets rid of unnecessary "could not locate type" error
dialogs.
This commit is contained in:
parent
624efe28c4
commit
8102e0ee93
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-21 Chris Wiebe
|
||||||
|
|
||||||
|
This mini-patch gets rid of unnecessary "could not locate type" error
|
||||||
|
dialogs.
|
||||||
|
|
||||||
2004-06-21 Chris Wiebe
|
2004-06-21 Chris Wiebe
|
||||||
|
|
||||||
- fix for bug #66108 (C++ browser cannot show members of class)
|
- fix for bug #66108 (C++ browser cannot show members of class)
|
||||||
|
|
|
@ -186,7 +186,7 @@ class MembersViewContentProvider extends CBrowsingContentProvider {
|
||||||
if (location != null)
|
if (location != null)
|
||||||
elem = info.getCElement();
|
elem = info.getCElement();
|
||||||
|
|
||||||
if (elem == null) {
|
if (location == null) {
|
||||||
// could not resolve location
|
// could not resolve location
|
||||||
String title = OpenTypeMessages.getString("OpenTypeAction.errorTitle"); //$NON-NLS-1$
|
String title = OpenTypeMessages.getString("OpenTypeAction.errorTitle"); //$NON-NLS-1$
|
||||||
String message = OpenTypeMessages.getFormattedString("OpenTypeAction.errorTypeNotFound", info.getQualifiedTypeName().toString()); //$NON-NLS-1$
|
String message = OpenTypeMessages.getFormattedString("OpenTypeAction.errorTypeNotFound", info.getQualifiedTypeName().toString()); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue