fixed warning in EditTextWidget

This commit is contained in:
thrust26 2018-08-06 14:48:11 +02:00
parent 916cf17b80
commit 5614fb0e76
1 changed files with 0 additions and 3 deletions

View File

@ -86,10 +86,7 @@ void EditTextWidget::drawWidget(bool hilite)
if(_changed)
s.fillRect(_x, _y, _w, _h, kDbgChangedColor);
else if(!isEditable())
{
bool onTop = _boss->dialog().isOnTop();
s.fillRect(_x, _y, _w, _h, onTop ? kDlgColor : kBGColorLo);
}
// Draw a thin frame around us.
s.frameRect(_x, _y, _w, _h, hilite && isEditable() && isEnabled() ? kWidColorHi : kColor);