Changeset 159

Show
Ignore:
Timestamp:
01/23/06 01:05:49 (3 years ago)
Author:
hipplej
Message:

Message Log settings frame now closes and toggle button resets on Cancel and Save.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/messagelog/messagelog.cpp

    r158 r159  
    120120MessageLog::saveChanges() 
    121121{ 
     122  /* Hide the settings frame and reset toggle button*/ 
     123  ui.btnToggleSettings->setChecked(false); 
     124  ui.frmSettings->setVisible(false); 
     125   
    122126  /* Disable the cursor to prevent problems while refiltering */ 
    123127  QApplication::setOverrideCursor(Qt::WaitCursor); 
     
    161165MessageLog::cancelChanges() 
    162166{ 
     167  /* Hide the settings frame and reset toggle button */ 
     168  ui.btnToggleSettings->setChecked(false); 
     169  ui.frmSettings->setVisible(false); 
     170 
     171  /* Reload the settings */ 
    163172  _loadSettings(); 
    164173}