From 6b9921d95da2a439a1fa8cd8f1aea1668a6bd39f Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Tue, 27 Aug 2019 12:22:27 +1000 Subject: [PATCH] launcher: fix plugin config tooltips --- source-code/source/plugins/Launcher/ConfigOption.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-code/source/plugins/Launcher/ConfigOption.h b/source-code/source/plugins/Launcher/ConfigOption.h index ea48108..47888f2 100644 --- a/source-code/source/plugins/Launcher/ConfigOption.h +++ b/source-code/source/plugins/Launcher/ConfigOption.h @@ -1085,7 +1085,8 @@ public: if (_configopts.size() > 0) { - Panel^ configPanel = MakePanel((Col2Left + Col2Width + 64), 250, _configopts, tooltip, hasChanged); + ToolTip^ paneltooltip = gcnew ToolTip(); + Panel^ configPanel = MakePanel((Col2Left + Col2Width + 64), 250, _configopts, paneltooltip, hasChanged); configPanel->Scale(ScaleWidth, ScaleHeight); PluginConfigHandler^ confighandler = gcnew PluginConfigHandler(configPanel, gcnew String(_friendlyName) + " Options"); button->Click += gcnew System::EventHandler(confighandler, &PluginConfigHandler::OpenForm);