mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Quote file name to table style in LFUN_TABULAR_STYLE_INSERT
This might fix the woes with table styles on windows, where the path
to the system directory has blanks IIRC (C:\Program Files\...)
(cherry picked from commit d42a300dfe
)
This commit is contained in:
parent
16902f6584
commit
ab79a915ca
@ -5628,7 +5628,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
break;
|
break;
|
||||||
UndoGroupHelper ugh(cur.buffer());
|
UndoGroupHelper ugh(cur.buffer());
|
||||||
cur.recordUndo();
|
cur.recordUndo();
|
||||||
FuncRequest cmd2(LFUN_FILE_INSERT, tabstyle.absFileName() + " ignorelang");
|
FuncRequest cmd2(LFUN_FILE_INSERT,
|
||||||
|
quoteName(tabstyle.absFileName()) + " ignorelang");
|
||||||
lyx::dispatch(cmd2);
|
lyx::dispatch(cmd2);
|
||||||
// go into table
|
// go into table
|
||||||
cur.backwardPos();
|
cur.backwardPos();
|
||||||
|
@ -77,6 +77,8 @@ What's new
|
|||||||
- Fix spacing problems in previews with math macros under specific
|
- Fix spacing problems in previews with math macros under specific
|
||||||
circumstances (bug 13120).
|
circumstances (bug 13120).
|
||||||
|
|
||||||
|
- Fix tabular styles on systems with blanks in system directory path.
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user