aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-05-28 21:29:52 +0200
committerMax <dmoagx@users.noreply.github.com>2018-05-28 21:29:52 +0200
commitf517fd31245e91738071db66e7ab33a6072b6b07 (patch)
tree5288fab9e7602e0c1130402af8f800082998321c
parent56817be6cc46742b75e23b021787eb006829b53f (diff)
downloadsequelpro-f517fd31245e91738071db66e7ab33a6072b6b07.tar.gz
sequelpro-f517fd31245e91738071db66e7ab33a6072b6b07.tar.bz2
sequelpro-f517fd31245e91738071db66e7ab33a6072b6b07.zip
Fix the content table always being positioned slightly after the first row when filtering results
-rw-r--r--Source/SPTableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 9ac8fd61..5d13b35e 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -1348,7 +1348,7 @@ static void *TableContentKVOContext = &TableContentKVOContext;
previousTableRowsCount = 0;
[self clearTableValues];
[self loadTableValues];
- [[tableContentView onMainThread] scrollPoint:NSMakePoint(0.0f, 0.0f)];
+ [[tableContentView onMainThread] scrollRowToVisible:0];
[tableDocumentInstance endTask];
}