10-26-2013, 04:03 PM
povmaniac, I download your new code and I'm fixing the Save button bug again.
Something very important when you are adding new fields (controls) to a dialog: you must add its identify in the same position that it appears in the dialog description.
for exemple: for the list of fields used as parameter to the function export_dialog_qs/1 and export_prefs/0, each time you add a field declaration (or enabled any one commented) to the list that describe the dialog you need to add that id to the parameter list in the same position (look for the key id before or after).
The parameter list is like a mirror to the fields sequence in the dialog description - it needs to match. That's can avoid some headache, since the number of fields are bigger.
Something very important when you are adding new fields (controls) to a dialog: you must add its identify in the same position that it appears in the dialog description.
for exemple: for the list of fields used as parameter to the function export_dialog_qs/1 and export_prefs/0, each time you add a field declaration (or enabled any one commented) to the list that describe the dialog you need to add that id to the parameter list in the same position (look for the key id before or after).
The parameter list is like a mirror to the fields sequence in the dialog description - it needs to match. That's can avoid some headache, since the number of fields are bigger.