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

Don't set desiredRows_/desiredColumns_ when adding a tab to an existing...

Don't set desiredRows_/desiredColumns_ when adding a tab to an existing window. It should stay at the value set by the first tab. Issue 6141.
parent ee6673a1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6745,7 +6745,7 @@ ITERM_WEAKLY_REFERENCEABLE
PtyLog(@"Open session with prefs: %@", tempPrefs);
int rows = [[tempPrefs objectForKey:KEY_ROWS] intValue];
int columns = [[tempPrefs objectForKey:KEY_COLUMNS] intValue];
if (desiredRows_ < 0) {
if (self.tabs.count == 0 && desiredRows_ < 0) {
desiredRows_ = rows;
desiredColumns_ = columns;
}
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