diff --git a/AppController.m b/AppController.m index 7e20b9a..18716ac 100755 --- a/AppController.m +++ b/AppController.m @@ -577,6 +577,7 @@ stashedStackPosition = stackPosition; stackPosition = favoritesStackPosition; [bezel setColor:YES]; + [self updateBezel]; } - (void)restoreStashedStore @@ -588,6 +589,7 @@ favoritesStackPosition = stackPosition; stackPosition = stashedStackPosition; [bezel setColor:NO]; + [self updateBezel]; } } @@ -1023,6 +1025,9 @@ if (stackPosition == 0 && [clippingStore jcListCount] == 0) { // empty [bezel setText:@""]; [bezel setCharString:@"Empty"]; + [bezel setSource:@""]; + [bezel setDate:@""]; + [bezel setSourceIcon:nil]; } else { // normal [self fillBezel]; @@ -1050,7 +1055,7 @@ - (void) hideBezel { [bezel orderOut:nil]; - [bezel setCharString:@""]; + [bezel setCharString:@"Empty"]; isBezelDisplayed = NO; } diff --git a/UI/BezelWindow.m b/UI/BezelWindow.m index 7b589d0..73ee82c 100755 --- a/UI/BezelWindow.m +++ b/UI/BezelWindow.m @@ -62,7 +62,7 @@ static const float lineHeight = 16; [textParagraph setLineSpacing:100.0]; NSDictionary *attrDic = [NSDictionary dictionaryWithObjectsAndKeys:textParagraph, NSParagraphStyleAttributeName, nil]; - NSAttributedString *attrString = [[NSAttributedString alloc] initWithString:@"foo" attributes:attrDic]; + NSAttributedString *attrString = [[NSAttributedString alloc] initWithString:@"" attributes:attrDic]; [sourceFieldApp setAllowsEditingTextAttributes:YES]; [sourceFieldApp setAttributedStringValue:attrString]; @@ -104,6 +104,7 @@ static const float lineHeight = 16; [charField setDrawsBackground:YES]; [charField setBordered:NO]; [charField setAlignment:NSCenterTextAlignment]; + [charField setStringValue:@"Empty"]; [self setInitialFirstResponder:textField]; return self;