From 05af6955bbabe3dc894fe18954ef35c67cec5bd4 Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Thu, 25 Aug 2016 07:26:18 +0200
Subject: [PATCH] [TASK] Use correct history icon in EditDocumentController

Use the same icon in the edit form of a record as in the clickmenu
and in the list module.

Resolves: #77628
Releases: master, 7.6
Change-Id: I977d7064067bcca2a924e3aa676b893f1f5c8525
Reviewed-on: https://review.typo3.org/49586
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
---
 .../backend/Classes/Controller/EditDocumentController.php       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php
index d8642771d052..851271ca4895 100644
--- a/typo3/sysext/backend/Classes/Controller/EditDocumentController.php
+++ b/typo3/sysext/backend/Classes/Controller/EditDocumentController.php
@@ -1381,7 +1381,7 @@ class EditDocumentController extends AbstractModule
                             )
                         )
                         ->setIcon($this->moduleTemplate->getIconFactory()->getIcon(
-                            'actions-edit-undo',
+                            'actions-document-history-open',
                             Icon::SIZE_SMALL
                         ));
                     $buttonBar->addButton($undoButton, ButtonBar::BUTTON_POSITION_LEFT, 3);
-- 
GitLab