Default text file viewer

In Settings I set a default text file viewer OTHER than Notepad. But when I right click a filename and then "open," it opens in Notepad.

Isn't the purpose of the "Settings/Text File Viewer" option to change the default viewer? If not, can someone tell me how to change it? I do not want to use Notepad as my viewer. Thanks.

The viewer on local browser is the default windows viewer, the viewer on settings is for remote sites.