+2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * tabular.C (toggleFixedWidth): Use default layout of text class
+ instead of hardcoded "Standard"
+
2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxfunc.C (dispatch): do not call getStatus again to determine
// reset layout
cur.push(*inset);
- inset->getText(0)->setLayout(0, cur.lastpit() + 1, "Standard");
+ // undo information has already been recorded
+ inset->getText(0)->setLayout(0, cur.lastpit() + 1,
+ bp.getLyXTextClass().defaultLayoutName());
cur.pop();
}