Disable visibility check. It still causes issues when window is hidden.
This commit is contained in:
+1
-1
@@ -506,7 +506,7 @@ void Session::updateTerminalSize()
|
||||
//select largest number of lines and columns that will fit in all visible views
|
||||
while ( viewIter.hasNext() ) {
|
||||
TerminalDisplay * view = viewIter.next();
|
||||
if ( !view->isVisible() == false &&
|
||||
if ( //!view->isVisible() == false && QMLTermWidget: We need to disable this check. It has issues when resizing invisible terminal.
|
||||
view->lines() >= VIEW_LINES_THRESHOLD &&
|
||||
view->columns() >= VIEW_COLUMNS_THRESHOLD ) {
|
||||
minLines = (minLines == -1) ? view->lines() : qMin( minLines , view->lines() );
|
||||
|
||||
Reference in New Issue
Block a user