mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fix crash on exit
This commit is contained in:
parent
4e510dc3e7
commit
09c9f567f2
1 changed files with 4 additions and 0 deletions
|
@ -751,6 +751,10 @@ void Tab::load_key_value(const std::string& opt_key, const boost::any& value, bo
|
||||||
|
|
||||||
void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
|
void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
|
||||||
{
|
{
|
||||||
|
if (wxGetApp().plater() == nullptr) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const bool is_fff = supports_printer_technology(ptFFF);
|
const bool is_fff = supports_printer_technology(ptFFF);
|
||||||
ConfigOptionsGroup* og_freq_chng_params = wxGetApp().sidebar().og_freq_chng_params(is_fff);
|
ConfigOptionsGroup* og_freq_chng_params = wxGetApp().sidebar().og_freq_chng_params(is_fff);
|
||||||
if (opt_key == "fill_density" || opt_key == "pad_enable")
|
if (opt_key == "fill_density" || opt_key == "pad_enable")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue