stifui/qt/src/dlgoutput.cpp
changeset 35 98924d2efce9
parent 19 4b22a598b890
equal deleted inserted replaced
34:e0ec97ec3cc4 35:98924d2efce9
    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