Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Apr 2, 2017

When the HostsFile was disabled (hosts.disabled file exists and no hosts file), saving would lead the program to create a new hosts file. If the user wanted to disable the HostsFile the again, the program would crash.

Now before saving the program checks if there exists a hosts.disabled file and if yes, tells the user that he/she needs to enable the HostsFile before editing entries.

RitchieF added 2 commits April 2, 2017 20:49
When the HostsFile was disabled (hosts.disabled file exists and no hosts file), saving would lead the program to create a new hosts file. If the user wanted to disable the HostsFile the again, the program would crash.

Now before saving the program checks if there exists a hosts.disabled file and if yes, tells the user that he/she needs to enable the HostsFile before editing entries.
Added an additional check to make sure that the program doesn't crash when both enabled and disabled HostsFile exist at the same time.
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

Successfully merging this pull request may close these issues.

0 participants