summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 407c41210e..9ddc336e65 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -138,6 +138,11 @@ struct MenuEntry
selected_qty = (qty == -1? quantity : qty);
}
+ virtual std::string get_filter_text() const
+ {
+ return get_text();
+ }
+
#ifdef USE_TILE
virtual bool tile(int &idx, TextureID &tex) const
{