fix crash

This commit is contained in:
root 2013-12-25 16:57:54 +13:00
parent 95406bd119
commit bcf5620239

View File

@ -113,7 +113,7 @@ class FlowView(common.WWrap):
("edit raw", "e"), ("edit raw", "e"),
] ]
highlight_color = "key" highlight_color = "focusfield"
def __init__(self, master, state, flow): def __init__(self, master, state, flow):
self.master, self.state, self.flow = master, state, flow self.master, self.state, self.flow = master, state, flow
@ -316,7 +316,7 @@ class FlowView(common.WWrap):
if found: if found:
focus_pos = i focus_pos = i
else : else :
focus_post = None focus_pos = None
return text_objects, focus_pos return text_objects, focus_pos