mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 13:17:54 -06:00
Fix linux crashing when opening EditGcodeDialog
This commit is contained in:
parent
95adb899a4
commit
595f707f22
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ void ParamsModel::GetValue(wxVariant& variant, const wxDataViewItem& item, unsig
|
||||||
{
|
{
|
||||||
wxIcon icon;
|
wxIcon icon;
|
||||||
icon.CopyFromBitmap(create_scaled_bitmap(node->icon_name, m_ctrl->GetParent()));
|
icon.CopyFromBitmap(create_scaled_bitmap(node->icon_name, m_ctrl->GetParent()));
|
||||||
wxDataViewIconText(node->GetFormattedText(), icon);
|
variant << wxDataViewIconText(node->GetFormattedText(), icon);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// variant << DataViewBitmapText(node->GetFormattedText(), get_bmp_bundle(node->icon_name)->GetBitmapFor(m_ctrl->GetParent())); //TODO: update to bundle with wx update
|
// variant << DataViewBitmapText(node->GetFormattedText(), get_bmp_bundle(node->icon_name)->GetBitmapFor(m_ctrl->GetParent())); //TODO: update to bundle with wx update
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue