ViaStitching: don't load help bitmap by relative path in generated dialog
The plugin sets the bitmap with an absolute path after creating the dialog; the relative path from the template only produced a 'can't open file' error.
This commit is contained in:
1 parent
fa06749604
commit
fa76f5e4e2
2 files changed
+2
-2
No files matched your search
@@ -74,7 +74,7 @@ class FillAreaDialog ( wx.Dialog ):
|
|||||||
|
|
||||||
fgSizer1.Add( ( 0, 0), 1, wx.EXPAND, 5 )
|
fgSizer1.Add( ( 0, 0), 1, wx.EXPAND, 5 )
|
||||||
|
|
||||||
self.m_bitmapStitching = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"stitching-vias-help.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_bitmapStitching = wx.StaticBitmap( self, wx.ID_ANY, wx.NullBitmap, wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
fgSizer1.Add( self.m_bitmapStitching, 0, wx.EXPAND, 5 )
|
fgSizer1.Add( self.m_bitmapStitching, 0, wx.EXPAND, 5 )
|
||||||
|
|
||||||
self.m_staticText6 = wx.StaticText( self, wx.ID_ANY, u"Net name", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText6 = wx.StaticText( self, wx.ID_ANY, u"Net name", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
|
|||||||
@@ -741,7 +741,7 @@
|
|||||||
<property name="aui_row">0</property>
|
<property name="aui_row">0</property>
|
||||||
<property name="best_size"></property>
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
<property name="bitmap">Load From File; stitching-vias-help.png</property>
|
<property name="bitmap"></property>
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
|
|||||||
Reference in new issue
Block a user