From af22a4f2cda86a7667578281a51ea1ec08a49af6 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Thu, 7 Jan 2021 23:06:23 +0100 Subject: Add: show in the tooltip of disabled toolbar buttons why they are disabled --- src/widget_type.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widget_type.h') diff --git a/src/widget_type.h b/src/widget_type.h index 1b1677039..d8841f9bd 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -285,6 +285,7 @@ public: void SetIndex(int index); void SetDataTip(uint32 widget_data, StringID tool_tip); + void SetToolTip(StringID tool_tip); inline void SetLowered(bool lowered); inline bool IsLowered() const; -- cgit v1.2.3-54-g00ecf