Disable visibility check. It still causes issues when window is hidden.

This commit is contained in:
Filippo Scognamiglio
2014-12-02 11:41:49 +01:00
parent 288c682e79
commit 1ad682a387
+1 -1
View File
@@ -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() );