diff options
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabBarControl.m')
-rw-r--r-- | Frameworks/PSMTabBar/PSMTabBarControl.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarControl.m b/Frameworks/PSMTabBar/PSMTabBarControl.m index 6753bc08..53e48729 100644 --- a/Frameworks/PSMTabBar/PSMTabBarControl.m +++ b/Frameworks/PSMTabBar/PSMTabBarControl.m @@ -450,7 +450,9 @@ - (void)setHideForSingleTab:(BOOL)value { _hideForSingleTab = value; - [self update]; + if ([_cells count] == 1) { + [self update]; + } } - (BOOL)showAddTabButton |