diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/LunaTranslator/LunaTranslator/gui/usefulwidget.py index 8f6d814e..0e636380 100644 --- a/LunaTranslator/LunaTranslator/gui/usefulwidget.py +++ b/LunaTranslator/LunaTranslator/gui/usefulwidget.py @@ -1690,7 +1690,8 @@ class listediter(LDialog): self.internalrealname = [] for row, k in enumerate(lst): # 2 try: - namemapfunction(k) + if namemapfunction: + namemapfunction(k) except: continue self.internalrealname.append(k)