Skip to content

Commit 31a2814

Browse files
committed
MM: MM1: Fix for closing Gypsy interaction
1 parent 25f2afc commit 31a2814

File tree

1 file changed

+2
-1
lines changed
  • engines/mm/mm1/views_enh/interactions

1 file changed

+2
-1
lines changed

engines/mm/mm1/views_enh/interactions/gypsy.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bool Gypsy::msgFocus(const FocusMessage &msg) {
4242

4343
void Gypsy::viewAction() {
4444
// When already showing Gypsy, any click/key will close view
45-
if (_lines.empty())
45+
if (_charSelected)
4646
close();
4747
}
4848

@@ -62,6 +62,7 @@ void Gypsy::charSwitched(Character *priorChar) {
6262
);
6363
addText(line);
6464

65+
_charSelected = true;
6566
redraw();
6667
}
6768

0 commit comments

Comments
 (0)