Follow-up 785ad4ce: DoubleSlider: Fixed a check of the Custom G-code

(this code was temporary commented and forgotten to uncomment)
SPE-2445
This commit is contained in:
YuSanka 2024-08-16 10:59:10 +02:00 committed by Lukas Matena
parent 3910ee77fa
commit a55c85ecef

View File

@ -21,6 +21,7 @@
#include "DoubleSliderForLayers.hpp"
#include "ExtruderSequenceDialog.hpp"
#include "Plater.hpp"
#include "Tab.hpp"
#include "MainFrame.hpp"
#include "MsgDialog.hpp"
#include "format.hpp"
@ -456,7 +457,7 @@ void Preview::create_sliders()
return "";
value = into_u8(dlg.GetValue());
valid = true;// GUI::Tab::validate_custom_gcode("Custom G-code", value); // !ysFIXME validate_custom_gcode
valid = Tab::validate_custom_gcode("Custom G-code", value);
} while (!valid);
return value;
});