Commits

Andreas Tscharner committed c505551

gui: Make the resource ID and the password editable

Comments (0)

Files changed (1)

src/gui/MainWindow.cxx

 	m_refBuilder->get_widget("resTreeView", resFileView);
 	resFileView->set_model(m_listResFiles);
 
-	resFileView->append_column("Resource ID", m_resColModel->FUniqueResID);
+	resFileView->append_column_editable("Resource ID", m_resColModel->FUniqueResID);
 	resFileView->append_column("Dateiname", m_resColModel->FResFilename);
 	resFileView->append_column("Komprimierung", m_resColModel->FCompressType);
 #ifndef NO_ENCRYPTION
 	resFileView->append_column("Verschlüsselung", m_resColModel->FEncryptType);
-	resFileView->append_column("Passwort", m_resColModel->FEncPassword);
+	resFileView->append_column_editable("Passwort", m_resColModel->FEncPassword);
 #endif
 
 	m_listHandler = new ListHandler(m_listResFiles, m_resColModel);