mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-29 05:32:00 +08:00
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:
parent
3910ee77fa
commit
a55c85ecef
@ -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;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user