diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php index debb036..d4a1b56 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php @@ -701,7 +701,7 @@ protected function addDisplays(View $view, $display_options, $form, $form_state) $executable = $view->getExecutable(); // Display: Master - $default_display = $executable->newDisplay('default', 'Master', 'default'); + $default_display = $executable->getDisplay('default'); foreach ($display_options['default'] as $option => $value) { $default_display->setOption($option, $value); }