unset what's selected when we clear the paper size box
Change-Id: I47de9bf12fb0e22fce8b0bbb9450b11ee0ad6008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171450 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
2fbd16ed37
commit
2610e15e9d
1 changed files with 1 additions and 0 deletions
|
@ -843,6 +843,7 @@ void PrintDialog::readFromSettings()
|
|||
void PrintDialog::setPaperSizes()
|
||||
{
|
||||
mxPaperSizeBox->clear();
|
||||
mxPaperSizeBox->set_active(-1);
|
||||
|
||||
VclPtr<Printer> aPrt( maPController->getPrinter() );
|
||||
mePaper = aPrt->GetPaper();
|
||||
|
|
Loading…
Reference in a new issue