Selaa lähdekoodia

fix: copy,move EXEC 0 to X

micha 2 vuotta sitten
vanhempi
commit
725851f988
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)