*/
void FileSet::populateTable()
{
- m_populated = true;
Freeze frz(*tableWidget); /* disable updating*/
}
}
}
+ m_populated = true;
}
/*
void FileSet::tableItemChanged(QTableWidgetItem *currentwidgetitem, QTableWidgetItem *previouswidgetitem)
{
/* m_checkcurwidget checks to see if this is during a refresh, which will segfault */
- if (m_checkcurwidget) {
+ if (m_checkcurwidget && currentwidgetitem) {
int currentRow = currentwidgetitem->row();
QTableWidgetItem *currentrowzeroitem = tableWidget->item(currentRow, 0);
m_currentlyselected = currentrowzeroitem->text();
*/
void FileSet::currentStackItem()
{
- if(!m_populated) {
+ if (!m_populated) {
populateTable();
/* Create the context menu for the fileset table */
createContextMenu();