Changed default the Drag & Drop target from "Move" to "Copy". Fixes #1742

This commit is contained in:
bubnikv 2019-02-01 08:53:29 +01:00
parent f4243c694f
commit 405d18a7fa

View File

@ -896,7 +896,7 @@ std::vector<PresetComboBox*>& Sidebar::combos_filament()
class PlaterDropTarget : public wxFileDropTarget class PlaterDropTarget : public wxFileDropTarget
{ {
public: public:
PlaterDropTarget(Plater *plater) : plater(plater) {} PlaterDropTarget(Plater *plater) : plater(plater) { this->SetDefaultAction(wxDragCopy); }
virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &filenames); virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &filenames);