Bug fix for Qt Hex editor row/column highlighting in ROM view.
This commit is contained in:
parent
1f20021946
commit
44f81dedc3
|
@ -4008,8 +4008,12 @@ void QHexEdit::paintEvent(QPaintEvent *event)
|
|||
if ( reverseVideo )
|
||||
{
|
||||
painter.setPen( romFgColor );
|
||||
painter.fillRect( x - (0.5*pxCharWidth) , recty, pxCharWidth3, pxLineSpacing, romBgColor );
|
||||
painter.fillRect( pxHexAscii + (col*pxCharWidth) - pxLineXScroll, recty, pxCharWidth, pxLineSpacing, romBgColor );
|
||||
|
||||
if ( bgColor != romBgColor )
|
||||
{
|
||||
painter.fillRect( x - (0.5*pxCharWidth) , recty, pxCharWidth3, pxLineSpacing, romBgColor );
|
||||
painter.fillRect( pxHexAscii + (col*pxCharWidth) - pxLineXScroll, recty, pxCharWidth, pxLineSpacing, romBgColor );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue