Skip to content
  • jkobus's avatar
    Fix a crash on changing context lines with block selection · 895b89db
    jkobus authored
    
    
    Crash occurs in diff editor when there is a block selection
    and you are changing context lines number.
    
    This workarounds the crash, but it seems that
    when BaseTextEditorWidget has a blockSelection
    calling "clear()" and "setPlainText()"
    causes the crash. When I turn off the
    blockSelection before calling "clear()" it helps.
    
    Change-Id: I0133862a2d7e2914c16368b7efa9986b4d56ff39
    Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
    895b89db