]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FileDialog.C
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FileDialog.C
index d92e80e10387f3d71248ea359edeca61f8fefc64..c876ffc0a379773a767909bac41e2b173527a160 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /**
  * \file FileDialog.C
  * Copyright 2001 the LyX Team
@@ -19,7 +18,7 @@
 
 #include "support/lstrings.h" 
 
-// temp. hack until Allow/ProhibitInput is not
+// temp. hack until Allow/prohibitInput is not
 // needed any more in src/ - for now it's simplest
 // to leave it there 
 #include "LyXView.h" 
@@ -68,14 +67,14 @@ FileDialog::Result const FileDialog::Select(string const & path, string const &
 
        // no support for asynchronous selection yet
 
-       ProhibitInput(lv_->view());
+       lv_->prohibitInput();
 
        FileDialog::Result result;
 
        result.first = FileDialog::Chosen;
        result.second = private_->Select(title_, path, filter, suggested);
  
-       AllowInput(lv_->view());
+       lv_->allowInput();
  
        return result;
 }