Revision: 27907
          http://sourceforge.net/p/bibdesk/svn/27907
Author:   hofman
Date:     2022-09-18 22:56:26 +0000 (Sun, 18 Sep 2022)
Log Message:
-----------
workaround to get expansion tool tip in status bar to work

Modified Paths:
--------------
    trunk/bibdesk/BDSKStatusBar.m

Modified: trunk/bibdesk/BDSKStatusBar.m
===================================================================
--- trunk/bibdesk/BDSKStatusBar.m       2022-09-18 22:20:40 UTC (rev 27906)
+++ trunk/bibdesk/BDSKStatusBar.m       2022-09-18 22:56:26 UTC (rev 27907)
@@ -291,6 +291,9 @@
 
 - (void)setStringValue:(NSString *)aString {
        [textField setStringValue:aString];
+    // this seems to be necessary to get the expansion tool tip working
+    if ([NSString isEmptyString:aString] == NO)
+        [[self window] invalidateCursorRectsForView:textField];
 }
 
 - (NSFont *)font {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to