*/}}
Browse Source

notify canvas when duplicate layer

YimingWu 8 months ago
parent
commit
c54c8068b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ouroperations.c

+ 1 - 1
ouroperations.c

@@ -1799,7 +1799,7 @@ int ourinv_DuplicateLayer(laOperator* a, laEvent* e){
     our_RecordUndo(Our->CurrentLayer,xmin,xmax,ymin,ymax,1,0);
     laRecordDifferences(0,"our.canvas.layers");laRecordDifferences(0,"our.canvas.current_layer");laPushDifferences("New Layer",0);
     
-    laNotifyUsers("our.canvas.layers"); laMarkMemChanged(Our->CanvasSaverDummyList.pFirst);
+    laNotifyUsers("our.canvas"); laMarkMemChanged(Our->CanvasSaverDummyList.pFirst);
     return LA_FINISHED;
 }
 int ourinv_RemoveLayer(laOperator* a, laEvent* e){