[GB.FORM]
* BUG: Do not stop if searching the current desktop fails. [GB.SETTINGS] * BUG: If you store a void array in a setting file, then reading it will return NULL, and not an error. git-svn-id: svn://localhost/gambas/trunk@1260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
252692f140
commit
a6630961bd
4 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# Gambas Project File 2.0
|
||||
Startup=FMain
|
||||
Version=2.4.1
|
||||
Version=2.5.1
|
||||
VersionProgram=gbx2 -V
|
||||
Library=gb.gui
|
||||
Library=gb.form
|
||||
|
|
|
@ -26,6 +26,8 @@ STATIC PRIVATE SUB SearchDesktop()
|
|||
IF sOutput THEN Application.Theme = "xfce"
|
||||
ENDIF
|
||||
|
||||
CATCH
|
||||
|
||||
END
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Gambas Project File 2.0
|
||||
Title=Gambas settings management
|
||||
Startup=Main
|
||||
Version=2.3.1
|
||||
Version=2.5.1
|
||||
VersionProgram=gbx2 -V
|
||||
Authors=Benoît Minisini
|
||||
TabSize=2
|
||||
|
|
|
@ -72,6 +72,7 @@ PUBLIC FUNCTION FromString(sVal AS String) AS Variant
|
|||
IF Left(sVal) = "\"" THEN
|
||||
RETURN UnQuoteString(sVal)
|
||||
ELSE IF Left(sVal) = "[" THEN
|
||||
IF sVal = "[]" THEN RETURN NULL
|
||||
aVal = Split(Mid$(sVal, 2, -1), ",", Chr$(34))
|
||||
IF Mid$(sVal, 2, 1) = Chr$(34) THEN
|
||||
RETURN aVal
|
||||
|
|
Loading…
Reference in a new issue