mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-29 14:12:02 +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 "DoubleSliderForLayers.hpp"
|
||||||
#include "ExtruderSequenceDialog.hpp"
|
#include "ExtruderSequenceDialog.hpp"
|
||||||
#include "Plater.hpp"
|
#include "Plater.hpp"
|
||||||
|
#include "Tab.hpp"
|
||||||
#include "MainFrame.hpp"
|
#include "MainFrame.hpp"
|
||||||
#include "MsgDialog.hpp"
|
#include "MsgDialog.hpp"
|
||||||
#include "format.hpp"
|
#include "format.hpp"
|
||||||
@ -456,7 +457,7 @@ void Preview::create_sliders()
|
|||||||
return "";
|
return "";
|
||||||
|
|
||||||
value = into_u8(dlg.GetValue());
|
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);
|
} while (!valid);
|
||||||
return value;
|
return value;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user