mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
This is a continuation of Bugzilla 312098 : [Memory Browser] do not create a rendering automatically when Memory Browser is opened. Changed the code dealing with the Wrong Expression displayed to be used consistently.
This commit is contained in:
parent
082b4787c3
commit
11a26ae0a2
1 changed files with 1 additions and 5 deletions
|
@ -106,10 +106,6 @@ public class GoToAddressBarWidget {
|
|||
else
|
||||
fEmptyExpression.hide();
|
||||
|
||||
clearError();
|
||||
}
|
||||
|
||||
private void clearError() {
|
||||
fWrongExpression.hide();
|
||||
}
|
||||
|
||||
|
@ -144,7 +140,7 @@ public class GoToAddressBarWidget {
|
|||
*/
|
||||
public void handleExpressionStatus(final IStatus message) {
|
||||
if (message.isOK()) {
|
||||
clearError();
|
||||
fWrongExpression.hide();
|
||||
} else {
|
||||
fWrongExpression.setDescriptionText(message.getMessage());
|
||||
fWrongExpression.show();
|
||||
|
|
Loading…
Add table
Reference in a new issue