Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Oblivionsage
Copy link
Contributor

In PageOTS_ExportKeyImages.cpp, the setupUR() function was exporting key images to a local variable ki_export but then passing the uninitialized m_wizardFields->keyImages to setData(). This resulted in the UR widget displaying empty data.

Changed to export directly to m_wizardFields->keyImages, matching the pattern used in PageOTS_ExportOutputs::setupUR(). This also ensures the data is properly available when exportKeyImages() writes to file.

Fixes TODO at PageOTS_ExportKeyImages.cpp:56

In PageOTS_ExportKeyImages.cpp, the setupUR() function was exporting
key images to a local variable 'ki_export' but then passing the
uninitialized 'm_wizardFields->keyImages' to setData(). This resulted
in the UR widget displaying empty data.

Changed to export directly to m_wizardFields->keyImages, matching the
pattern used in PageOTS_ExportOutputs.cpp::setupUR(). This also ensures
the data is properly available when exportKeyImages() writes to file.

Fixes TODO at PageOTS_ExportKeyImages.cpp:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant