Changeset 16462


Ignore:
Timestamp:
Jul 10, 2015, 7:34:11 PM (4 years ago)
Author:
svspire
Message:

Don't die in the AltConsole? if the "In Folder:" field is temporarily made
invalid by e.g. pressing an "\" character.

Location:
trunk/source/cocoa-ide
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/search-files-pre-lion.lisp

    r16126 r16462  
    8383      (let ((lstr (lisp-string-from-nsstring nsstr)))
    8484        (when (valid-host-p lstr)
    85           (probe-file (get-full-dir-string lstr)))))))
     85          (ignore-errors (probe-file (get-full-dir-string lstr))))))))
    8686
    8787(objc:defmethod (#/controlTextDidChange: :void) ((wc search-files-window-controller) notification)
  • trunk/source/cocoa-ide/search-files.lisp

    r16049 r16462  
    424424      (let ((lstr (lisp-string-from-nsstring nsstr)))
    425425        (when (valid-host-p lstr)
    426           (probe-file (get-full-dir-string lstr)))))))
     426          (ignore-errors (probe-file (get-full-dir-string lstr))))))))
    427427
    428428(objc:defmethod (#/controlTextDidChange: :void) ((wc search-files-window-controller) notification)
Note: See TracChangeset for help on using the changeset viewer.