Ignore:
Timestamp:
04/08/10 11:35:52 (15 years ago)
Author:
pinwc4
Message:

Added logic to hide save and delete profile buttons after a profile has been deleted and removed from the menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/desktop/mainWindow.rbfrm

    r19 r21  
    138138      Top             =   32 
    139139      Underline       =   "" 
    140       Value           =   3 
     140      Value           =   1 
    141141      Visible         =   True 
    142142      Width           =   637 
     
    32263226                Sub Action() 
    32273227                  ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text) 
     3228                   
     3229                  PopupMenu_Profile.RemoveRow(PopupMenu_Profile.ListIndex) 
     3230                   
     3231                  //Make sure to hide the save and delete profile buttons since no profile will be selected after this has been deleted 
     3232                  PushButton_SaveProfile.Visible = False 
     3233                  PushButton_Delete.Visible = False 
    32283234                End Sub 
    32293235        #tag EndEvent 
Note: See TracChangeset for help on using the changeset viewer.