Fixed error message when exporting using system default in expG2img dialog

Version: 2024b

Type: Bug Fixes

Category: Graphing

Subcategory: Export

Jira: ORG-28528

  1. new graph

  2. click File: Export Graph to open expG2img dialog

  3. make sure dialog theme is <last used>, then close the dialog without exporting. If there is no last used theme, click OK to export

  4. click File: Export Graph: Open dialog

  5. click the triangle button of dialog theme, select system default

  6. click OK
    ==> error message: Variable value is not in predefined list, VarName = dk, VarValue = -1

Fixed in Origin2024b.