mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-20 22:43:16 +08:00
FIX: [STUDIO-4125] null crash in ImageGrid
Change-Id: Ibe2fcf6d3fe7ae901a2e594d782566a04aa19c39 Jira: STUDIO-4125
This commit is contained in:
parent
a05524417c
commit
22d5ea002e
@ -220,6 +220,7 @@ void ImageGrid::UpdateLayout()
|
|||||||
|
|
||||||
void Slic3r::GUI::ImageGrid::UpdateFocusRange()
|
void Slic3r::GUI::ImageGrid::UpdateFocusRange()
|
||||||
{
|
{
|
||||||
|
if (!m_file_sys) return;
|
||||||
wxSize size = GetClientSize();
|
wxSize size = GetClientSize();
|
||||||
wxPoint off;
|
wxPoint off;
|
||||||
int index = firstItem(size, off);
|
int index = firstItem(size, off);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user