Handle cancel on InterpreterMenu
authorChristoph Egger <christoph@anonymous.siccegge.de>
Fri, 15 May 2015 23:25:20 +0000 (01:25 +0200)
committerChristoph Egger <christoph@anonymous.siccegge.de>
Fri, 15 May 2015 23:25:20 +0000 (01:25 +0200)
commit85d67be4869bd6a274e009af63fc6955c5e6d37a
treef3ddc48f4b1f99670cf137194a36670a59ad4e84
parent6d0838cec0411286de35e5a22a042d9a3b1eebf7
Handle cancel on InterpreterMenu

getOpenFileName() will return a Null-QString on cancel. Feeding that
filename to guile will die (reasonably) with an exception. Instead, we
now just exit from the handler in the gui if the Null-QString is
returned

Closes T33
src/gui/Mainwindow.cxx