Skip to content

Commit

Permalink
fix #3332
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Nov 7, 2023
1 parent 43dc893 commit f4f9a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qcodeedit/lib/qeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3115,12 +3115,12 @@ bool QEditor::event(QEvent *e)
if ( (e->type() == QEvent::Resize || e->type() == QEvent::Show) )
setVerticalScrollBarMaximum();

if ( e->type() == QEvent::Resize && flag(LineWrap) && m_doc)
/*if ( e->type() == QEvent::Resize && flag(LineWrap) && m_doc)
{
//qDebug("resize adjust (1) : wrapping to %i", viewport()->width());
m_doc->setWidthConstraint(wrapWidth());
ensureCursorVisible(KeepDistanceFromViewTop);
}
}*/

return r;
}
Expand Down

0 comments on commit f4f9a1a

Please sign in to comment.