mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
We have lyx_version, for PACKAGE_VERSION.
(Introduced in r34186.) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37577 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c3aa2e0e17
commit
1b3c9e54c5
@ -27,6 +27,7 @@
|
||||
#include "LyXVC.h"
|
||||
#include "Lexer.h"
|
||||
#include "ParagraphParameters.h"
|
||||
#include "version.h"
|
||||
|
||||
#include "frontends/Application.h"
|
||||
|
||||
@ -454,7 +455,7 @@ void InsetInfo::updateInfo()
|
||||
}
|
||||
case LYX_INFO:
|
||||
if (name_ == "version")
|
||||
setText(from_ascii(PACKAGE_VERSION));
|
||||
setText(from_ascii(lyx_version));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user