mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Added LambdaObjectDialog
This commit is contained in:
parent
9504780ef4
commit
3e0ff5e9ef
7 changed files with 220 additions and 13 deletions
|
@ -60,6 +60,7 @@
|
|||
#include "../Utils/PresetUpdater.hpp"
|
||||
#include "../Config/Snapshot.hpp"
|
||||
#include "Model.hpp"
|
||||
#include "LambdaObjectDialog.hpp"
|
||||
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
@ -1025,6 +1026,12 @@ wxBoxSizer* content_edit_object_buttons(wxWindow* win)
|
|||
on_btn_load(win, true);
|
||||
});
|
||||
|
||||
btn_load_lambda_modifier->Bind(wxEVT_BUTTON, [win](wxEvent&)
|
||||
{
|
||||
auto dlg = new LambdaObjectDialog(win);
|
||||
dlg->ShowModal();
|
||||
});
|
||||
|
||||
btn_delete->Bind(wxEVT_BUTTON, [](wxEvent&)
|
||||
{
|
||||
auto item = m_objects_ctrl->GetSelection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue