Skip to content

Commit

Permalink
[biexport] fix PDF orientation setting
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau committed Dec 4, 2023
1 parent 9664cc3 commit 8be2f85
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions biexport_aps.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,11 +544,9 @@
text: "Submit",
press: () => {
let properties = {};
let value = textEditorHeader.getValue();
this[idHeader] = properties[idHeader] = value;
value = textEditorFooter.getValue();
this[idFooter] = properties[idFooter] = value;
value = orientDropdown.getSelectedItemId();
this[idHeader] = properties[idHeader] = textEditorHeader.getValue();
this[idFooter] = properties[idFooter] = textEditorFooter.getValue();
this[idOrientation] = properties[idOrientation] = orientDropdown.getSelectedItemId();
this._firePropertiesChanged(properties);
dialog.close();
}
Expand Down

0 comments on commit 8be2f85

Please sign in to comment.