Commit 9aa5db7573e39f3706be1c00d31b4a211c1fc03f

Authored by Paulo Henrique Junqueira Amorim
1 parent 55d51283

ENH: Changed icon to load mesh

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/gui/data_notebook.py
... ... @@ -603,7 +603,8 @@ class SurfaceButtonControlPanel(wx.Panel):
603 603 wx.BITMAP_TYPE_PNG)
604 604 BMP_DUPLICATE = wx.Bitmap(os.path.join(const.ICON_DIR, "data_duplicate.png"),
605 605 wx.BITMAP_TYPE_PNG)
606   - BMP_OPEN = wx.ArtProvider.GetBitmap(wx.ART_FOLDER_OPEN, wx.ART_BUTTON, (18,18))
  606 + BMP_OPEN = wx.Bitmap(os.path.join(const.ICON_DIR, "load_mesh.png"),
  607 + wx.BITMAP_TYPE_PNG)
607 608  
608 609 # Plate buttons based on previous bitmaps
609 610 button_style = pbtn.PB_STYLE_SQUARE | pbtn.PB_STYLE_DEFAULT
... ...