diff --git a/src/Text.cpp b/src/Text.cpp index f40562d30d..b148864379 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -5625,10 +5625,11 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) FileName const tabstyle = libFileSearch("tabletemplates", style + suffix + ".lyx", "lyx"); if (tabstyle.empty()) - break; + break; UndoGroupHelper ugh(cur.buffer()); cur.recordUndo(); - FuncRequest cmd2(LFUN_FILE_INSERT, tabstyle.absFileName() + " ignorelang"); + FuncRequest cmd2(LFUN_FILE_INSERT, + quoteName(tabstyle.absFileName()) + " ignorelang"); lyx::dispatch(cmd2); // go into table cur.backwardPos(); diff --git a/status.24x b/status.24x index e6b0d55375..2fb396d394 100644 --- a/status.24x +++ b/status.24x @@ -77,6 +77,8 @@ What's new - Fix spacing problems in previews with math macros under specific circumstances (bug 13120). +- Fix tabular styles on systems with blanks in system directory path. + * USER INTERFACE