瀏覽代碼

fix: copy,move EXEC 0 to X

micha 2 年之前
父節點
當前提交
725851f988
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      _LibreLightDesk.py

+ 1 - 1
_LibreLightDesk.py

@@ -3763,7 +3763,7 @@ class Presets():
 
     def copy(self,nr,overwrite=1):
         cprint("PRESETS._copy",nr,"last",self._last_copy)
-        if nr:
+        if nr >= 0:
             if self._last_copy is not None:
                 if modes.val("COPY"):
                     modes.val("COPY",3)