mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06:00
FIX: [STUDIO-4125] null crash in ImageGrid
Change-Id: Ibe2fcf6d3fe7ae901a2e594d782566a04aa19c39 Jira: STUDIO-4125 (cherry picked from commit aef8e23fdbead22c9e0585cb33cb72f183d8c057)
This commit is contained in:
parent
d64031a054
commit
9ce3487b20
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,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…
Add table
Add a link
Reference in a new issue