Skip to content

Commit bcfc615

Browse files
committed
Feat: modify code
1 parent d48f174 commit bcfc615

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

preferences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def update(self, context):
4545
return update
4646

4747
fast_open_addon_code: BoolProperty(
48-
default=True,
48+
default=False,
4949
name='Feat Open Addon Script or Folder',
5050
description='Rewrite the drawing method of the addon section,'
5151
' and display it in the expansion of the addon',

tool/custom_key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def register(cls):
126126
def unregister(cls):
127127
for keymap, kmi in cls.register_keymap_items:
128128
try:
129-
130129
keymap.keymap_items.remove(kmi)
131130
except ReferenceError as r:
132-
print(r.args)
131+
print(r)
132+
cls.register_keymap_items.clear()
133133

134134

135135
def register():

0 commit comments

Comments
 (0)