Changing the order of function calls in SelectAll() causes the selection rect
size to show up correctly in the status bar. Fixes #7710. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42310 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ccc37bbb77
commit
0f06b3de2a
@ -1503,10 +1503,10 @@ ShowImageView::Undo()
|
|||||||
void
|
void
|
||||||
ShowImageView::SelectAll()
|
ShowImageView::SelectAll()
|
||||||
{
|
{
|
||||||
_SetHasSelection(true);
|
|
||||||
fCopyFromRect.Set(0, 0, fBitmap->Bounds().Width(),
|
fCopyFromRect.Set(0, 0, fBitmap->Bounds().Width(),
|
||||||
fBitmap->Bounds().Height());
|
fBitmap->Bounds().Height());
|
||||||
fSelectionBox.SetBounds(this, fCopyFromRect);
|
fSelectionBox.SetBounds(this, fCopyFromRect);
|
||||||
|
_SetHasSelection(true);
|
||||||
Invalidate();
|
Invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user