Fixed a crash whenever the user canceled the changes on pgModeler
settings and tried to connect to a server using the sql tool.