Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress confirmation prompt for GUI upgrades #3206

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

HebaruSan
Copy link
Member

Problem

image

Cause

#3204 added a yes/no prompt in ModuleInstaller.Upgrade, but I thought GUI only used UninstallList and InstallList. No, it does call Upgrade.

Changes

Now the confirmation prompt is suppressed.

  • Now GUI passes ConfirmPrompt=False
    • This is only available on the CkanModule-based version of Upgrade, and GUI previously used the string-based version, so now we've switched to the other

@HebaruSan HebaruSan added Bug Something is not working as intended Easy This is easy to fix GUI Issues affecting the interactive GUI Pull request labels Nov 22, 2020
Copy link
Member

@DasSkelett DasSkelett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, glad you caught that one before the next release 😄

@HebaruSan HebaruSan merged commit b77482a into KSP-CKAN:master Nov 23, 2020
@HebaruSan HebaruSan deleted the fix/gui-upgrade branch November 23, 2020 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Easy This is easy to fix GUI Issues affecting the interactive GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants