From e229b9519e515d17bac3b53ebb63aa7ff281bb15 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Mon, 1 Jan 2018 23:41:07 +0100 Subject: [PATCH] made ToolPanel::setListener virtual (needed by MetaDataPanel to work properly) --- rtgui/toolpanel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/toolpanel.h b/rtgui/toolpanel.h index d5814c040..d3d7439a9 100644 --- a/rtgui/toolpanel.h +++ b/rtgui/toolpanel.h @@ -88,7 +88,7 @@ public: { multiImage = m; } - void setListener (ToolPanelListener* tpl) + virtual void setListener (ToolPanelListener* tpl) { listener = tpl; }