summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 780d1184dc..87f529fac8 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -216,6 +216,8 @@ int list_spells(bool toggle_with_I, bool viewing)
spell_menu.add_toggle_key('I');
more_str += "or 'I' ";
}
+ if (!viewing)
+ spell_menu.menu_action = Menu::ACT_EXECUTE;
more_str += "to toggle spell view.";
spell_menu.set_more(formatted_string(more_str));