added auto refresh when layer(s) moved

This commit is contained in:
easyw
2018-02-19 10:29:42 +01:00
committed by GitHub
parent 566f4f1d79
commit c2873eff53

View File

@ -24,7 +24,7 @@ import pcbnew
from pcbnew import *
import base64
from wx.lib.embeddedimage import PyEmbeddedImage
___version___="1.1.0"
___version___="1.1.1"
class move_to_draw_layer( pcbnew.ActionPlugin ):
@ -185,6 +185,7 @@ class move_to_draw_layer( pcbnew.ActionPlugin ):
LogMsg+="use GAL for selecting lines"
wx.LogMessage(LogMsg)
else:
pcbnew.Refresh()
LogMsg="selected drawings moved to "+frame.layerSelection+" layer"
wx.LogMessage(LogMsg)
@ -221,4 +222,4 @@ iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK
# pcbnew.B_CrtYd
# pcbnew.F_CrtYd
# pcbnew.B_Fab
# pcbnew.F_Fab
# pcbnew.F_Fab