diff options
author | rowanbeentje <rowan@beent.je> | 2010-02-05 01:51:17 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-02-05 01:51:17 +0000 |
commit | f880dea7369cb6ce57c552cd359f871bf7e2e414 (patch) | |
tree | e7ae9cecd00dd89dc8a3e66f0ce362fa2c023d6d /Source/TablesList.m | |
parent | 557d012ed48835423c36bcd0c10754ea3f7e2d3b (diff) | |
download | sequelpro-f880dea7369cb6ce57c552cd359f871bf7e2e414.tar.gz sequelpro-f880dea7369cb6ce57c552cd359f871bf7e2e414.tar.bz2 sequelpro-f880dea7369cb6ce57c552cd359f871bf7e2e414.zip |
- Rework SPSQLParser, extending DELIMITER support into all the original functions (off by default). Remove the forked "...Sql..." functions, as they're now duplicates, and switch CustomQuery to using the original methods.
- TableDump imports can now process DELIMITERs correctly as a result.
- Alter the TableDump display of tables etc to use TablesList as the source of information, and used cached lists where appropriate for a small speedup. Also means we gain consistent sorting.
- Display procedures and functions in the toggleable list when exporting as SQL
- Tweak the procedure and function export to only export selected items, and also to respect the "export drop syntax" and "export create syntax" checkboxes
- Fix a crash when removing items from the TablesList resulted in an errorneous selection by deselecting all rows before deleting (and preemptively applying the same fix to TableContent)
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r-- | Source/TablesList.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m index cff345fc..a81c6d75 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -1750,6 +1750,7 @@ - (void)removeTable { NSIndexSet *indexes = [tablesListView selectedRowIndexes]; + [tablesListView selectRowIndexes:[NSIndexSet indexSet] byExtendingSelection:NO]; // get last index NSUInteger currentIndex = [indexes lastIndex]; |