Fix rows and columns getting confused in table creation dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13249 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Spray 2006-02-17 00:52:58 +00:00
parent b7039ba891
commit 01b554be2a
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
in the list of bibkeys.
* GViewBase.C: Put update() back into show(), it was still
needed by some dialogs. More investigation needed.
* GTableCreate.C: Fix rows and columns being switched
2006-02-14 John Spray <spray@lyx.org>
* GPainter.[Ch], xftFontMetrics.C: Remove broken multibyte

View File

@ -58,7 +58,7 @@ void GTableCreate::apply()
{
size_t const rows = rows_->get_value_as_int();
size_t const columns = columns_->get_value_as_int();
controller().params() = std::make_pair(columns, rows);
controller().params() = std::make_pair(rows, columns);
}
} // namespace frontend