mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
Fix serveral issues on Linux environments
1. fix the crash issue in ComboBox 2. fix the network agent directory not correct issue 3. fix the first 3d tab switch failed issue 4. fix the filemenu not correct issue Change-Id: I6a99218c0f7edbd57114ca1d9ff8c5c020d26d94 (cherry picked from commit b5e1b06af42aea9d1413be29dd58150b2ac8d470)
This commit is contained in:
parent
b468b0da0e
commit
e228e72db1
4 changed files with 25 additions and 21 deletions
|
@ -120,7 +120,7 @@ wxString ComboBox::GetTextLabel() const
|
|||
|
||||
bool ComboBox::SetFont(wxFont const& font)
|
||||
{
|
||||
if (GetTextCtrl()->IsShown())
|
||||
if (GetTextCtrl() && GetTextCtrl()->IsShown())
|
||||
return GetTextCtrl()->SetFont(font);
|
||||
else
|
||||
return TextInput::SetFont(font);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue