All pastes #390921 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-11 19:39 UTC
rendered paste body
--- FbTk/Menu.cc	(revision 4751)
+++ FbTk/Menu.cc	(working copy)
@@ -443,7 +443,7 @@
         m_image_ctrl.removeImage(tmp);
 
 
-    if (!theme().selectedPixmap().pixmap().drawable()) {
+    if ((!theme().selectedPixmap().pixmap().drawable()) && ((theme().hiliteTexture().type() & Texture::PARENTRELATIVE) == 0)) {
         int hw = theme().itemHeight() / 2;
         m_theme.setSelectedPixmap(m_image_ctrl.renderImage(hw, hw, theme().hiliteTexture()), true);