Changeset 1877 in Sophya


Ignore:
Timestamp:
Jan 20, 2002, 1:30:36 AM (24 years ago)
Author:
ansari
Message:

correction controle SetSensitivity() ds pidrwtools.cc - Reza 19/01/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pidrwtools.cc

    r1876 r1877  
    388388    string wdrname = mCurBW->Nom()+":"+dr->Name();
    389389    mDrName->SetLabel(wdrname);
     390    if ((dr != NULL) && dr->HasSpecificControlWindow())
     391      mButcf[3]->SetSensitive();
     392    else mButcf[3]->SetUnSensitive();   
    390393  }
    391394  else if (mButSens != butsensnew) {
     
    406409      for(kb=0; kb<3;kb++)  mButcf[kb]->SetSensitive();
    407410      mButcf[4]->SetSensitive();
    408       if ((dr != NULL) && dr->HasSpecificControlWindow())
    409         mButcf[3]->SetSensitive();
    410       else mButcf[3]->SetUnSensitive();         
    411411    }
    412412  }
Note: See TracChangeset for help on using the changeset viewer.