diff options
Diffstat (limited to 'mapman/src/sliceview.cpp')
-rw-r--r-- | mapman/src/sliceview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mapman/src/sliceview.cpp b/mapman/src/sliceview.cpp index db24a26..1083028 100644 --- a/mapman/src/sliceview.cpp +++ b/mapman/src/sliceview.cpp @@ -29,7 +29,7 @@ slice_view::slice_view() : l(nullptr) lv->setSelectionMode(QAbstractItemView::SelectionMode::SingleSelection); lv->setDragDropMode(QAbstractItemView::DragDropMode::NoDragDrop); lv->viewport()->installEventFilter(this); - p = new map_painter(); + p = new map_painter(this); p->set_dimension(1, 1); auto leftcontainer = new QWidget(); auto leftlayout = new QVBoxLayout(); |