/**
- * \file Dialog.C
+ * \file Dialog.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
bool Dialog::Controller::canApply() const
{
FuncRequest const fr(getLfun(), dialog().name());
- FuncStatus const fs(kernel().lyxview().getLyXFunc().getStatus(fr));
+ FuncStatus const fs(lyx::getStatus(fr));
return fs.enabled();
}