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

Incorrect dialog box when trying to close program while mod is installing/uninstalling #34

Closed
agsimmons opened this issue Jan 23, 2017 · 1 comment

Comments

@agsimmons
Copy link

If you try to close the program while installing/uninstalling a mod, the dialog box asks you if you are sure you want to close NexusModManager, but the only option is OK, and when it is pressed, nothing happens.

The relevant code can be seen at

DialogResult drFormClose = MessageBox.Show(String.Format("There is an ongoing mod install/uninstall, are you sure you want to close {0}?", Application.ProductName), "Closing", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);

I'm not familiar with c#, but I am guessing that
MessageBoxButtons.OK
has to be replaced with
MessageBoxButtons.YesNo

Then, this would match the MessageBoxButtons used here:

DialogResult drFormClose = MessageBox.Show(String.Format("There is an ongoing download, are you sure you want to close {0}?", Application.ProductName), "Closing", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);

http://i.imgur.com/LEFmiT0.png

@squid-box
Copy link
Collaborator

This was fixed in pull request #234.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants