Browse Source

Fix plugin icons not displayed regression

pull/9995/head
Don Ho 3 years ago
parent
commit
fc94015bff
  1. 9
      PowerEditor/src/WinControls/ImageListSet/ImageListSet.cpp

9
PowerEditor/src/WinControls/ImageListSet/ImageListSet.cpp

@ -203,12 +203,11 @@ void ToolBarIcons::reInit(int size)
::DeleteObject(iconinfoSrc.hbmColor);
::DeleteObject(iconinfoSrc.hbmMask);
}
_iconListVector[HLIST_DEFAULT_DM].addIcon(hIcon);
_iconListVector[HLIST_DISABLE_DM].addIcon(hIcon);
_iconListVector[HLIST_DEFAULT_DM2].addIcon(hIcon);
_iconListVector[HLIST_DISABLE_DM2].addIcon(hIcon);
}
_iconListVector[HLIST_DEFAULT_DM].addIcon(hIcon);
_iconListVector[HLIST_DISABLE_DM].addIcon(hIcon);
_iconListVector[HLIST_DEFAULT_DM2].addIcon(hIcon);
_iconListVector[HLIST_DISABLE_DM2].addIcon(hIcon);
}
}

Loading…
Cancel
Save