mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
special math-delim handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6757 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c19addd546
commit
56fdc10f13
@ -1,3 +1,8 @@
|
||||
2003-04-10 John Levon <levon@movementarian.org>
|
||||
|
||||
* ToolbarBackend.C (getIcon): special handling for
|
||||
LFUN_MATH_DELIM
|
||||
|
||||
2003-04-09 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* text2.C (cursorRight): a getChar assert fixed
|
||||
|
@ -134,8 +134,11 @@ string const ToolbarBackend::getIcon(int action)
|
||||
string fullname;
|
||||
FuncRequest f = lyxaction.retrieveActionArg(action);
|
||||
|
||||
if (f.action == LFUN_INSERT_MATH && !f.argument.empty()) {
|
||||
fullname = find_xpm(f.argument.substr(1));
|
||||
if (f.action == LFUN_INSERT_MATH) {
|
||||
if (!f.argument.empty())
|
||||
fullname = find_xpm(f.argument.substr(1));
|
||||
} else if (f.action == LFUN_MATH_DELIM) {
|
||||
fullname = find_xpm(f.argument);
|
||||
} else {
|
||||
string const name = lyxaction.getActionName(f.action);
|
||||
string xpm_name(name);
|
||||
|
Loading…
Reference in New Issue
Block a user