aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TablesList.m')
-rw-r--r--Source/TablesList.m1
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];