aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-02 15:52:31 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-02 15:52:31 +0000
commita0692078a97a2ff67065fd7a40c9d8490ed45ee0 (patch)
treeae60b3cd6488378c0f1b81eaed5632c9bf7f939a /Source/CustomQuery.m
parent865751a6154ec9c31ef73e95c5ead99682cb40fd (diff)
downloadsequelpro-a0692078a97a2ff67065fd7a40c9d8490ed45ee0.tar.gz
sequelpro-a0692078a97a2ff67065fd7a40c9d8490ed45ee0.tar.bz2
sequelpro-a0692078a97a2ff67065fd7a40c9d8490ed45ee0.zip
• button tooltip for "Show / Hide Table Information" toggles according to its status
• after editing a field in Custom Query table scroll to last selected row after data refreshing - (TODO: should be improved in near future)
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index d22d4cce..7616fb5d 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -710,7 +710,12 @@
[[customQueryView tableColumnWithIdentifier:[NSNumber numberWithInt:[theColumns count]-1]]
setWidth:[[customQueryView tableColumnWithIdentifier:[NSNumber numberWithInt:0]] width]];
+ } else {
+ // scroll to last edited row after refreshing data
+ // TODO: should be improved
+ [customQueryView scrollRowToVisible:[customQueryView selectedRow]];
}
+
[customQueryView reloadData];
// Init copyTable with necessary information for copying selected rows as SQL INSERT