Commit 6392b159e2d8e275dd552ebd6080770df4d6b40a
1 parent
de9a54aa
Exists in
master
and in
6 other branches
FIX: Text layout icon turning gray when disabled
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
.gitattributes
... | ... | @@ -84,6 +84,7 @@ icons/splash_es.png -text |
84 | 84 | icons/splash_pt.png -text |
85 | 85 | icons/surface_export.png -text |
86 | 86 | icons/surface_export_original.png -text |
87 | +icons/text.gif -text | |
87 | 88 | icons/text.png -text |
88 | 89 | icons/text_inverted.png -text |
89 | 90 | icons/text_inverted_original.png -text | ... | ... |
243 Bytes
invesalius/gui/frame.py
... | ... | @@ -876,9 +876,8 @@ class LayoutToolBar(wx.ToolBar): |
876 | 876 | self.BMP_WITH_MENU = wx.Bitmap(os.path.join(const.ICON_DIR, |
877 | 877 | "layout_full.gif"), |
878 | 878 | wx.BITMAP_TYPE_GIF) |
879 | - self.BMP_WITH_TEXT = wx.Bitmap(os.path.join(const.ICON_DIR,"text.png")) | |
880 | - self.BMP_WITHOUT_TEXT =\ | |
881 | - wx.Bitmap(os.path.join(const.ICON_DIR,"text_inverted.png")) | |
879 | + self.BMP_WITH_TEXT = wx.Bitmap(os.path.join(const.ICON_DIR,"text.gif"), wx.BITMAP_TYPE_GIF) | |
880 | + self.BMP_WITHOUT_TEXT = wx.Bitmap(os.path.join(const.ICON_DIR,"text_inverted.png")) | |
882 | 881 | |
883 | 882 | self.AddLabelTool(ID_LAYOUT, "",bitmap=self.BMP_WITHOUT_MENU, |
884 | 883 | shortHelp= _("Hide task panel")) | ... | ... |