mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
FIX: correct the setter
JIRA: [STUDIO-13571] Change-Id: I6b5c0ac8c817a8d3b8807e17bce12a44d1101442 (cherry picked from commit 10cf6c6ce478d807c36672c8dace0df5d3cdb629)
This commit is contained in:
@@ -1826,7 +1826,7 @@ AmsHumidityTipPopup::AmsHumidityTipPopup(wxWindow* parent)
|
|||||||
|
|
||||||
void AmsHumidityTipPopup::set_humidity_level(int level)
|
void AmsHumidityTipPopup::set_humidity_level(int level)
|
||||||
{
|
{
|
||||||
if (0 < current_humidity_level && current_humidity_level < 6)
|
if (0 < level && level < 6)
|
||||||
{
|
{
|
||||||
current_humidity_level = level;
|
current_humidity_level = level;
|
||||||
std::string mode_string = wxGetApp().dark_mode() ? "_dark" : "_light";
|
std::string mode_string = wxGetApp().dark_mode() ? "_dark" : "_light";
|
||||||
|
|||||||
Reference in New Issue
Block a user