diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-15 16:05:54 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-15 16:05:54 +0000 |
commit | 70d15ff4ecdfd3c6996b3b8b2259674f9e9c9345 (patch) | |
tree | 83480a09ef5d35003e1971ac9c341f578940f55e /Source/TableContent.m | |
parent | 39c34617b01f72c7466eee98675447e277e326cb (diff) | |
download | sequelpro-70d15ff4ecdfd3c6996b3b8b2259674f9e9c9345.tar.gz sequelpro-70d15ff4ecdfd3c6996b3b8b2259674f9e9c9345.tar.bz2 sequelpro-70d15ff4ecdfd3c6996b3b8b2259674f9e9c9345.zip |
• deleted the drag&drop feature of file path or content from SPTextViewAdditions
- that feature should be added by subclassing NSTextView
• fixed focus setting of editSheet
• fixed general issue if SP tries to execute a query which is longer than max_allowed_packet
- now it reconnects after changing max_allowed_packet (if it's editable)
- the user will be informed via a log entry about that change
- the new max_allowed_packet size will be valid during the current session; after reconnection to that db the default size will be used
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index 551ddd59..bb37b444 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -2320,15 +2320,20 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn // Locate the caret in editTextView // (to select all takes a bit time for large data) [editTextView setSelectedRange:NSMakeRange(0,0)]; - // Set focus to editTextView - [editSheet makeFirstResponder:editTextView]; + + // Set focus + if(image == nil) + [editSheet makeFirstResponder:editTextView]; + else + [editSheet makeFirstResponder:editImage]; + [stringValue release]; } - [editSheetProgressBar stopAnimation:self]; - editSheetWillBeInitialized = NO; + [editSheetProgressBar stopAnimation:self]; + // wait for editSheet code = [NSApp runModalForWindow:editSheet]; |