plugin hub panel: add url to help tooltip and add missing space to warning
This commit is contained in:
@@ -193,7 +193,6 @@ class PluginHubPanel extends PluginPanel
|
||||
JButton help = new JButton(HELP_ICON);
|
||||
help.setRolloverIcon(HELP_ICON_HOVER);
|
||||
SwingUtil.removeButtonDecorations(help);
|
||||
help.setToolTipText("Help");
|
||||
help.setBorder(null);
|
||||
if (manifest.getSupport() == null)
|
||||
{
|
||||
@@ -201,6 +200,7 @@ class PluginHubPanel extends PluginPanel
|
||||
}
|
||||
else
|
||||
{
|
||||
help.setToolTipText("Open help: " + manifest.getSupport().toString());
|
||||
help.addActionListener(ev -> LinkBrowser.browse(manifest.getSupport().toString()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user