externalpanel: Reset the status text after error

This commit is contained in:
Owain van Brakel
2020-05-22 13:54:40 +02:00
parent 3a50e657fb
commit 952fe24a03

View File

@@ -452,6 +452,8 @@ public class PluginsPanel extends JPanel
private void pluginInstallButton(JLabel install, PluginInfo pluginInfo, boolean installed, boolean hideAction)
{
install.setIcon(installed ? hideAction ? DELETE_ICON_GRAY : DELETE_ICON : ADD_ICON);
install.setText("");
if (!hideAction)
{
install.setToolTipText(installed ? "Uninstall" : "Install");