Skip to content
Snippets Groups Projects
Commit e305c166 authored by George Nachman's avatar George Nachman
Browse files

Make tab position, tab style, and scrollbar visible changes effective immediatley. Fixes bug 1297

parent 23ce37c6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3193,6 +3193,16 @@ NSString *sessionsKey = @"sessions";
PtyLog(@"_refreshTerminal - calling fitWindowToTabs");
[self fitWindowToTabs];
 
// If tab style or position changed.
[self repositionWidgets];
// In case scrollbars came or went:
for (PTYTab *aTab in [self tabs]) {
for (PTYSession *aSession in [aTab sessions]) {
[aTab fitSessionToCurrentViewSize:aSession];
}
}
BOOL canDim = [[PreferencePanel sharedInstance] dimInactiveSplitPanes];
// Assign counts to each session. This causes tabs to show their tab number,
// called an objectCount. When the "compact tab" pref is toggled, this makes
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment