mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 13:08:32 +00:00
Escape with the Replace With Font From or Find In list open closed the whole dialog: the dialog checked Escape after drawing, when the list had already closed itself, and also took Escape's key repeats. It now checks whether a list was open before drawing and takes only a new press, so the list closes, Find Font stays open with its choices and its search, and the next press closes the dialog. The replacement search also survived a close by Escape, which goes through Cancel, and Find in Folder... when the Missing Fonts dialog takes Find Font's place, so the next Find Font opened with the old search. Cancel and a successful Find in Folder... now clear it as Done and Enter do; with no folder picked, Find Font stays open with its search. Tests run the app's key handling and dialogs together, as a frame does.