Removed SetViewCursor() from BTextView::_Deactivate(), as suggested by
cl21. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23203 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3541,7 +3541,9 @@ BTextView::_DrawLine(BView *view, const int32 &lineNum, const int32 &startOffset
|
||||
}
|
||||
|
||||
// do we have any text to draw?
|
||||
if (length > 0) {
|
||||
if (length <= 0)
|
||||
return;
|
||||
|
||||
bool foundTab = false;
|
||||
int32 tabChars = 0;
|
||||
int32 numTabs = 0;
|
||||
@@ -3617,7 +3619,6 @@ BTextView::_DrawLine(BView *view, const int32 &lineNum, const int32 &startOffset
|
||||
} while (foundTab && tabChars > 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
@@ -4191,12 +4192,6 @@ BTextView::_Deactivate()
|
||||
Highlight(fSelStart, fSelEnd);
|
||||
} else
|
||||
_HideCaret();
|
||||
|
||||
BPoint where;
|
||||
ulong buttons;
|
||||
GetMouse(&where, &buttons);
|
||||
if (Bounds().Contains(where))
|
||||
SetViewCursor(B_CURSOR_SYSTEM_DEFAULT);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user