Fixed a bug that prevented the quirk testing window from actually testing quirks.
This commit is contained in:
parent
0c2ef90f94
commit
dd0d306acb
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ from generic import mysteryTime
|
||||||
from quirks import ScriptQuirks
|
from quirks import ScriptQuirks
|
||||||
from pyquirks import PythonQuirks
|
from pyquirks import PythonQuirks
|
||||||
from luaquirks import LuaQuirks
|
from luaquirks import LuaQuirks
|
||||||
|
import dataobjs
|
||||||
|
|
||||||
# karxi: My own contribution to this - a proper lexer.
|
# karxi: My own contribution to this - a proper lexer.
|
||||||
import pnc.lexercon as lexercon
|
import pnc.lexercon as lexercon
|
||||||
|
@ -750,7 +751,7 @@ def kxhandleInput(ctx, text=None, flavor=None):
|
||||||
quirks = ctx.mainwindow.userprofile.quirks
|
quirks = ctx.mainwindow.userprofile.quirks
|
||||||
else:
|
else:
|
||||||
# The quirk testing window uses a different set.
|
# The quirk testing window uses a different set.
|
||||||
quirks = pesterQuirks(ctx.parent().testquirks())
|
quirks = dataobjs.pesterQuirks(ctx.parent().testquirks())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Do quirk things. (Ugly, but it'll have to do for now.)
|
# Do quirk things. (Ugly, but it'll have to do for now.)
|
||||||
|
|
Loading…
Reference in a new issue