presentation: copy hovered icon too
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Thu, 8 Oct 2015 19:38:17 +0000 (22:38 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Thu, 8 Oct 2015 19:38:17 +0000 (22:38 +0300)
platform/editor-ui-api/src/com/intellij/openapi/actionSystem/Presentation.java

index 792bf13f3aed3debde946c6e1436f2016cbf5ff0..c2d753621d17d1250c0e66595be97356c838480a 100644 (file)
@@ -308,6 +308,7 @@ public final class Presentation implements Cloneable {
     setDescription(presentation.getDescription());
     setIcon(presentation.getIcon());
     setDisabledIcon(presentation.getDisabledIcon());
+    setHoveredIcon(presentation.getHoveredIcon());
     setVisible(presentation.isVisible());
     setEnabled(presentation.isEnabled());
   }