* readd accidentally removed code (rev 14143)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14177 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-06-22 09:25:02 +00:00
parent 6444095092
commit dbc5bf6f8a
2 changed files with 6 additions and 1 deletions

View File

@ -688,6 +688,11 @@ void QDocument::update_contents()
if (n >= 0)
dialog_->fontModule->fontsDefaultCO->setCurrentItem(n);
// paper
int const psize = params.papersize;
dialog_->pageLayoutModule->papersizeCO->setCurrentItem(psize);
dialog_->setCustomPapersize(psize);
// margins
MarginsModuleBase * m = dialog_->marginsModule;

View File

@ -60,7 +60,7 @@ namespace lyx {
using support::bformat;
using support::contains;
using lyx::support::findToken;
using support::findToken;
using support::getStringFromVector;
using support::getVectorFromString;
using support::libFileSearch;