[Gambas-user] Issue 92 in gambas: Wrong combobox list referenced in FOptions

gambas at ...2524... gambas at ...2524...
Mon Aug 29 08:18:03 CEST 2011


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 92 by adamn... at ...626...: Wrong combobox list referenced in  
FOptions
http://code.google.com/p/gambas/issues/detail?id=92

1) The Image editor combo box _Click handler is saving the wrong thing in  
the gambas3.config file.

See below (regardless of the current state and use of the options for  
Applications  :-) )

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r4055

FOptions code in app/src/Gambas3 is

Public Sub cmbImageEditor_Click()

   If cmbImageEditor.Index > 0 Then
     Settings["/ImageEditor"] = $aTerminal[cmbImageEditor.Index - 1]
   Else
     Settings["/ImageEditor"] = ""
   Endif

End

should be

Public Sub cmbImageEditor_Click()

   If cmbImageEditor.Index > 0 Then
     Settings["/ImageEditor"] = $aImageEditor[cmbImageEditor.Index - 1]
   Else
     Settings["/ImageEditor"] = ""
   Endif

End





More information about the User mailing list