aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-19 10:29:42 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-19 10:29:42 +0000
commitb5c4f326fb175499d0b837cb325b9eeea676fb4f (patch)
tree2b6509d5f45011920ac87e6e180aa7de56534ea6 /Source/SPCustomQuery.m
parentad92dcb5b130b6543db0b85c322984f521c9ad0c (diff)
downloadsequelpro-b5c4f326fb175499d0b837cb325b9eeea676fb4f.tar.gz
sequelpro-b5c4f326fb175499d0b837cb325b9eeea676fb4f.tar.bz2
sequelpro-b5c4f326fb175499d0b837cb325b9eeea676fb4f.zip
• Bundle Editor
- fixed saving and duplicating Bundles if Bundle contains other files/folder - fixed adding a new Bundle - added gui tooltips • SPTooltip - if no location was passed and first responder isn't a textView show the tooltip at the mouse location • CopyTable - show tooltip invoked by a Bundle command always at mouse location • Content / Custom Query Table - suppress tooltip of cell content if another tooltip (mainly displayed by a Bundle) is visible [shoudl be improved since iterating through the window list isn't so good]
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index f81b9750..bfb6f952 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -2186,6 +2186,14 @@
if([[aCell stringValue] length] < 2 || [tableDocumentInstance isWorking]) return nil;
+ // Suppress tooltip if another toolip is already visible, mainly displayed by a Bundle command
+ // TODO has to be improved
+ for(id win in [NSApp orderedWindows]) {
+ if([[[[win contentView] class] description] isEqualToString:@"WebView"]) {
+ return nil;
+ }
+ }
+
NSImage *image;
NSPoint pos = [NSEvent mouseLocation];