Skip to content

Commit

Permalink
FIX: Endless loop in EditTableDialog::addField (sqlitebrowser#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
schdub authored and MKleusberg committed Jan 25, 2017
1 parent 36a3815 commit 8d82070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EditTableDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ void EditTableDialog::addField()
{
field_name = "Field" + QString::number(field_number);
field_number++;
} while(m_table.findField(field_name));
} while(m_table.findField(field_name) != -1);
tbitem->setText(kName, field_name);
}

Expand Down

0 comments on commit 8d82070

Please sign in to comment.