mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 14:22:07 +00:00
FIX: the pa profile name cannot be repeated when edit k value
jira: STUDIO-10992 Change-Id: I50d61e9581e188a10a4f804df163b3d50eb7caa0 (cherry picked from commit 431925adf0749faafeaf46ac0b8d60c6d4e5972a)
This commit is contained in:
@@ -44,7 +44,7 @@ protected:
|
||||
class EditCalibrationHistoryDialog : public DPIDialog
|
||||
{
|
||||
public:
|
||||
EditCalibrationHistoryDialog(wxWindow* parent, const PACalibResult& result, const MachineObject* obj);
|
||||
EditCalibrationHistoryDialog(wxWindow *parent, const PACalibResult &result, const MachineObject *obj, const std::vector<PACalibResult> history_results);
|
||||
~EditCalibrationHistoryDialog();
|
||||
void on_dpi_changed(const wxRect& suggested_rect) override;
|
||||
PACalibResult get_result();
|
||||
@@ -55,6 +55,8 @@ protected:
|
||||
|
||||
protected:
|
||||
PACalibResult m_new_result;
|
||||
std::vector<PACalibResult> m_history_results;
|
||||
const MachineObject * curr_obj;
|
||||
|
||||
TextInput* m_name_value{ nullptr };
|
||||
TextInput* m_k_value{ nullptr };
|
||||
|
||||
Reference in New Issue
Block a user