stifui/qt/src/dlgoutput.cpp
branchRCL_3
changeset 17 d40e813b23c0
parent 13 822c625f7adc
equal deleted inserted replaced
15:65b472535a0d 17:d40e813b23c0
    67     tabList.insert(index, edit);
    67     tabList.insert(index, edit);
    68     }
    68     }
    69 
    69 
    70 void DlgOutput::CloseItem(QString index)
    70 void DlgOutput::CloseItem(QString index)
    71     {
    71     {
    72     int u = tabList.keys().indexOf(index);
       
    73     
       
    74     delete tabList.value(index);
    72     delete tabList.value(index);
    75     tabList.remove(index);
    73     tabList.remove(index);
    76     if (tabMain->count() == 0)
    74     if (tabMain->count() == 0)
    77         {
    75         {
    78         this->close();
    76         this->close();
   139             break;
   137             break;
   140         }
   138         }
   141 
   139 
   142     }
   140     }
   143 
   141 
       
   142 // End of File