]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.cpp
add busy.gif to resources (in line with cmake)
[lyx.git] / src / mathed / InsetMathSubstack.cpp
index 2fb05748b225e52953a4c2f679c9e83f61e07a08..fccdf7b3c3aacedeaeaad18141d0819d69159e02 100644 (file)
@@ -78,8 +78,18 @@ bool InsetMathSubstack::getStatus(Cursor & cur, FuncRequest const & cmd,
                        flag.setEnabled(false);
                        return true;
                }
+               // in contrary to \subaray, the columns in \substack
+               // are always centered and this cannot be changed
+               if (s == "align-left" || s == "align-right") {
+                       flag.message(bformat(
+                               from_utf8(N_("Can't change horizontal alignment in '%1$s'")),
+                               from_utf8(name)));
+                       flag.setEnabled(false);
+                       return true;
+               }
                break;
        }
+
        default:
                break;
        }