Trash and Orphaned folders shouldn't be editable

This commit is contained in:
Veronica K. B. Olsen
2020-12-20 22:07:10 +01:00
parent 8435d866ca
commit cf3350c6b6
3 changed files with 30 additions and 10 deletions
+6 -1
View File
@@ -25,7 +25,9 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
from nw.constants.enum import nwItemClass, nwItemLayout, nwOutline
from nw.constants.enum import (
nwItemClass, nwItemLayout, nwItemType, nwOutline
)
class nwConst():
@@ -43,6 +45,9 @@ class nwConst():
SP_INTERNAL = "internal"
SP_ENCHANT = "enchant"
# Check Lists
REG_TYPES = {nwItemType.ROOT, nwItemType.FOLDER, nwItemType.FILE}
# END Class nwConst
class nwRegEx():