1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetic fix for the memory view tab's tooltips.

This commit is contained in:
Mikhail Khodjaiants 2002-11-29 20:44:12 +00:00
parent 77c0c0b3fb
commit fe95aee277
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-11-29 Mikhail Khodjaiants
Cosmetic fix for the memory view tab's tooltips.
* MemoryControlArea.java
2002-11-28 Mikhail Khodjaiants 2002-11-28 Mikhail Khodjaiants
Fixes for 'Run to line' actions. Fixes for 'Run to line' actions.
* RunToLineActionDelegate.java * RunToLineActionDelegate.java

View file

@ -406,7 +406,7 @@ public class MemoryControlArea extends Composite
if ( getParent() instanceof CTabFolder ) if ( getParent() instanceof CTabFolder )
{ {
CTabItem[] tabItems = ((CTabFolder)getParent()).getItems(); CTabItem[] tabItems = ((CTabFolder)getParent()).getItems();
tabItems[fIndex].setToolTipText( "Memory View " + (fIndex + 1) + ": " + newText ); tabItems[fIndex].setToolTipText( "Memory View " + (fIndex + 1) + ( ( newText.length() > 0 ) ? ( ": " + newText ) : "" ) );
} }
} }