diff options
-rw-r--r-- | Source/TablesList.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m index 3a7dbacf..f37be72e 100644 --- a/Source/TablesList.m +++ b/Source/TablesList.m @@ -1492,7 +1492,7 @@ - (void) showFilter { if ([tableListFilterSplitView collapsibleSubviewIsCollapsed]) - [tableListFilterSplitView performSelector:@selector(toggleCollapse:) withObject:nil afterDelay:0.0]; + [tableListFilterSplitView performSelectorOnMainThread:@selector(toggleCollapse:) withObject:nil waitUntilDone:NO]; } /** @@ -1502,7 +1502,7 @@ - (void) hideFilter { if (![tableListFilterSplitView collapsibleSubviewIsCollapsed]) - [tableListFilterSplitView performSelector:@selector(toggleCollapse:) withObject:nil afterDelay:0.0]; + [tableListFilterSplitView performSelectorOnMainThread:@selector(toggleCollapse:) withObject:nil waitUntilDone:NO]; } /** |