fix: default to simplex for printing DuplexMode (#24489)
This commit is contained in:
parent
cbb47570bd
commit
91cdedfea9
1 changed files with 2 additions and 1 deletions
|
@ -2025,7 +2025,8 @@ void WebContents::Print(gin_helper::Arguments* args) {
|
|||
}
|
||||
|
||||
// Duplex type user wants to use.
|
||||
printing::mojom::DuplexMode duplex_mode;
|
||||
printing::mojom::DuplexMode duplex_mode =
|
||||
printing::mojom::DuplexMode::kSimplex;
|
||||
options.Get("duplexMode", &duplex_mode);
|
||||
settings.SetIntKey(printing::kSettingDuplexMode,
|
||||
static_cast<int>(duplex_mode));
|
||||
|
|
Loading…
Reference in a new issue