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

Bugfix: Crash while saving when hosts was disabled and enabled together #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Bugfix: Crash while saving when hosts was disabled and enabled together #19

wants to merge 2 commits into from

Commits on Apr 2, 2017

  1. Bugfix: Crash while saving when hosts was disabled and enabled together

    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 committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    eb3466a View commit details
    Browse the repository at this point in the history
  2. Check for Enabled and Disabled HostsFile

    Added an additional check to make sure that the program doesn't crash when both enabled and disabled HostsFile exist at the same time.
    RitchieF committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    07fcfff View commit details
    Browse the repository at this point in the history