Source

lrc / src / gui / ListHandler.cxx

Diff from to

File src/gui/ListHandler.cxx

 {
 	m_listResEntries = p_listResEntries;
 	m_resColModel = p_resColModel;
+
+	FCompColModel = new CompTypeModelColumns();
+	FEncColModel = new EncTypeModelColumns();
+}
+
+ListHandler::~ListHandler()
+{
+	delete FEncColModel;
+	delete FCompColModel;
 }
 
 int ListHandler::newFilesAdded(std::vector<std::string> p_newFiles)
 
 		singleRow[m_resColModel->FUniqueResID] = "";
 		singleRow[m_resColModel->FResFilename] = singleEntry;
-		singleRow[m_resColModel->FCompressType] = "Keine";
+		singleRow[m_resColModel->FCompressTypeName] = "Keine";
+//		singleRow[m_resColModel->FCompChoices] = FCompColModel;
 #ifndef NO_ENCRYPTION
-		singleRow[m_resColModel->FEncryptType] = "Keine";
+		singleRow[m_resColModel->FEncryptTypeName] = "Keine";
+//		singleRow[m_resColModel->FEncChoices] = FEncColModel;
 		singleRow[m_resColModel->FEncPassword] = "";
 #endif
 	};