Try selecting "Show file in separate viewer" of the Embedding tab Robert Lindgren wrote:
Hi All,Having problem with .sh files, in konq, whatever I set as preferred app for .sh files konq will run the file instead of opening it in an editor.The file type application for x-shellscript gives kvim as highest preference, but no go.This is of cause a problem in cervisia since when i rightclick->edit (or doubleclick) on my .sh files it will run them instead of giving me an editor.Any remedy for this is greatly appreciated. Best regards /Robert