mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Avoid indirection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31521 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3890ee964e
commit
b34763a4c8
@ -1172,7 +1172,7 @@ void GuiApplication::processKeySym(KeySymbol const & keysym, KeyModifier state)
|
||||
{
|
||||
LYXERR(Debug::KEY, "KeySym is " << keysym.getSymbolName());
|
||||
|
||||
LyXView * lv = theApp()->currentWindow();
|
||||
GuiView * lv = currentView();
|
||||
|
||||
// Do nothing if we have nothing (JMarc)
|
||||
if (!keysym.isOK()) {
|
||||
|
Loading…
Reference in New Issue
Block a user