Added LambdaObjectDialog

This commit is contained in:
YuSanka 2018-06-14 21:48:06 +02:00
parent 9504780ef4
commit 3e0ff5e9ef
7 changed files with 220 additions and 13 deletions

View file

@ -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();