added auto refresh when layer(s) moved
This commit is contained in:
		| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user