google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

Wrong combobox list referenced in FOptions #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by adamn...@gmail.com on 29 Aug 2011 at 6:17

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 29 Aug 2011 at 12:18

GoogleCodeExporter commented 9 years ago
Fixed in revision #4058.

Original comment by benoit.m...@gmail.com on 29 Aug 2011 at 6:06