Version: unspecified (using KDE 4.5.1) OS: Linux Kalzium 2.3.80 Reproducible: Always Steps to Reproduce: Open export. Select some atoms (for example, Hydrogen), select to export all data. Select any format (i checked html, xml). Press enter. Actual Results: … Exact Mass 1.007825032 Ionization 13,5984 kJ/mol Electron Affinity 1.007825032 … Expected Results: … Exact Mass 1.007825032 Ionization 13,5984 kJ/mol Electron Affinity 0,754204 eV … In UI, everything is fine. Something is wrong with export.
http://websvn.kde.org/trunk/KDE/kdeedu/kalzium/src/exportdialog.cpp?view=markup 126: ui.propertyListWidget->addItem( new PropertyListEntry( i18n( "Exact Mass" ), ChemicalDataObject::exactMass ) ); 127: ui.propertyListWidget->addItem( new PropertyListEntry( i18n( "Ionization" ), ChemicalDataObject::ionization ) ); 128: ui.propertyListWidget->addItem( new PropertyListEntry( i18n( "Electron Affinity" ), ChemicalDataObject::exactMass ) );
SVN commit 1178300 by erebetez: Exact Mass was linked to Electron Affinity in the exportdialog. Thanks Nikita Skovoroda for reporting the bug;) BUG: 252009 M +1 -1 exportdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1178300