mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 13:19:01 +08:00
Fix crash when loading gocde into gui on ArchLinux in tabbed layout
Seems transparetn for windows. Maybe it fixes things for macos? supermerill/SuperSlicer#1056
This commit is contained in:
parent
352f21eebb
commit
6ef7acab11
@ -4864,7 +4864,7 @@ bool GLCanvas3D::_init_collapse_toolbar()
|
||||
|
||||
bool GLCanvas3D::_set_current()
|
||||
{
|
||||
return m_context != nullptr && m_canvas->SetCurrent(*m_context);
|
||||
return m_context != nullptr && m_canvas->IsShownOnScreen() && m_canvas->SetCurrent(*m_context);
|
||||
}
|
||||
|
||||
void GLCanvas3D::_resize(unsigned int w, unsigned int h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user