X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFileDialog.C;h=c876ffc0a379773a767909bac41e2b173527a160;hb=b9d61343fc76a681b0264d65703ef2119647df56;hp=d64f0e9a6109949ed9a2f4a598588ac1a10c4b89;hpb=467323b2b8f9f9bbd9e853ea288a8f5ac6f886e0;p=lyx.git diff --git a/src/frontends/xforms/FileDialog.C b/src/frontends/xforms/FileDialog.C index d64f0e9a61..c876ffc0a3 100644 --- a/src/frontends/xforms/FileDialog.C +++ b/src/frontends/xforms/FileDialog.C @@ -18,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" @@ -67,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; }