diff --git a/src/control/PageBackgroundChangeController.cpp b/src/control/PageBackgroundChangeController.cpp index df698903..4fcfada6 100644 --- a/src/control/PageBackgroundChangeController.cpp +++ b/src/control/PageBackgroundChangeController.cpp @@ -23,7 +23,7 @@ PageBackgroundChangeController::PageBackgroundChangeController(Control* control) currentPageType->hideCopyPage(); - currentPageType->addApplyBackgroundButton(control->getPageBackgroundChangeController(), true); + currentPageType->addApplyBackgroundButton(this, true); registerListener(control); }