Skip to content

Commit 401f38d

Browse files
committed
Update installed version when a plugin is installed or removed
1 parent be2a05b commit 401f38d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/UI/PluginInstaller.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ void PluginInfoComponent::run()
10701070
LOGD("Download Successfull!!");
10711071

10721072
pInfo.installedVersion = pInfo.selectedVersion;
1073+
installedVerText.setText(pInfo.installedVersion, dontSendNotification);
10731074
downloadButton.setEnabled(false);
10741075
downloadButton.setButtonText("Installed");
10751076
uninstallButton.setVisible(true);
@@ -1355,6 +1356,7 @@ bool PluginInfoComponent::uninstallPlugin(const String& plugin)
13551356
uninstallButton.setVisible(false);
13561357
downloadButton.setEnabled(true);
13571358
downloadButton.setButtonText("Install");
1359+
installedVerText.setText("No", dontSendNotification);
13581360

13591361
return true;
13601362
}

0 commit comments

Comments
 (0)