Try to speed up rendering.

svn path=/trunk/; revision=45841
This commit is contained in:
Gerald Combs 2012-10-30 22:25:37 +00:00
parent 3a8b276c81
commit 101e9755c7
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ void ByteViewText::render()
return;
}
setUpdatesEnabled(false);
textCursor().beginEditBlock();
clear();
length = tvb_length(tvb_);
@ -103,7 +103,7 @@ void ByteViewText::render()
scrollToByte(p_start_);
}
setUpdatesEnabled(true);
textCursor().endEditBlock();
}
// Private