Changeset 1064


Ignore:
Timestamp:
May 13, 2020, 12:01:38 AM (5 years ago)
Author:
Alex Taylor
Message:

Make "log level" spinbutton numeric+readonly.
Try to prevent crash when race condition causes selected record to be undefined on Refresh menu click.

Location:
branches/guitools-arcamap-2.5/evfsgui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-arcamap-2.5/evfsgui/evfsgui.vrp

    r1063 r1064  
    55VXOFile: VRSPLIT
    66ClassFile: VRSPLITB.DLL
    7 MacroPath: VRM:G:\netlabs\svn\samba\trunk\guitools\evfsgui
     7MacroPath: VRM:.
    88EXEPath:
    99RunParameters: -NDFS
    10 RunDirectory: G:\netlabs\svn\samba\branches\guitools-arcamap-2.5\evfsgui
     10RunDirectory: .
    1111VRXWindow: __VREMainWindow,1,1831,2457,1012,7841
    1212VRXWindow: __VREFileListWindow,1,711,14020,2665,3358
  • branches/guitools-arcamap-2.5/evfsgui/evfsgui.vrx

    r1063 r1064  
    38143814*/
    38153815Menu_Selected_Refresh_Click:
     3816    if Symbol("SMBObj.rh") <> 'VAR' then return
     3817    if SMBObj.rh == '' then return
    38163818    ok = VRMethod( "CN_smbtree", "SetRecordAttr", SMBObj.rh, "Icon","#61:PMWP.DLL")
    38173819    call _DelSMBObjectShares SMBObj.rh
     
    56595661    if advanced.!miniicons   \= ""  then ok = VRSet("CB_MINIICONS",  "Set",   advanced.!miniicons)
    56605662
    5661 /*  if advanced.!logfile     \= ""  then ok = VRSet("EF_LOGFILE",    "Value", advanced.!logfile)     /* Obsolete */
     5663/* Obsolete */
     5664/*  if advanced.!logfile     \= ""  then ok = VRSet("EF_LOGFILE",    "Value", advanced.!logfile)     
    56625665    if advanced.!loglevel    \= "0" then ok = VRSet("SPIN_LOG_LEVEL", "Value", advanced.!loglevel) */
    56635666
    5664     log_level = IniGet('log level', 'global', samba.!smbconf)
     5667    PARSE VALUE IniGet('log level', 'global', samba.!smbconf) WITH log_level .
    56655668    call _SmbConfCreateShadowCopy
    56665669
Note: See TracChangeset for help on using the changeset viewer.