diff scripts/gui/uigetfile.m @ 19882:9b7ca334a104

Backout cset a9952a647d52 and use __octave_link_enabled__ rather than isguirunning.
author Rik <rik@octave.org>
date Tue, 24 Feb 2015 10:41:57 -0800
parents 9fc020886ae9
children 777f26aa8e3e
line wrap: on
line diff
--- a/scripts/gui/uigetfile.m	Tue Feb 24 09:35:34 2015 +0100
+++ b/scripts/gui/uigetfile.m	Tue Feb 24 10:41:57 2015 -0800
@@ -173,7 +173,7 @@
     endfor
   endif
 
-  if (isguirunning ())
+  if (__octave_link_enabled__ ())
     [retfile, retpath, retindex] = __octave_link_file_dialog__ (outargs{:});
   else
     funcname = __get_funcname__ (mfilename ());