FIX: [STUDIO-1011] windows can not scroll in inactivate window

Change-Id: Ib09e58f4637d632625bf7bd484fd26319630cdb2
This commit is contained in:
chunmao.guo 2022-11-23 08:49:16 +08:00 committed by Lane.Wei
parent 05904e3770
commit 9b10b1438c
3 changed files with 3 additions and 2 deletions

View file

@ -335,6 +335,7 @@ void ImageGrid::mouseDown(wxMouseEvent& event)
m_hit_item = hit.second;
if (m_hit_type >= HIT_ACTION)
Refresh();
SetFocus();
}
}