QetGraphicsTableItem : add dialog to inform user

When user edit the query of an existing table/s if the content to
display is bigger than the content who can be displayed by the table/s a
dialog is opened for inform user of the current situation.
This commit is contained in:
Claveau Joshua
2020-07-20 19:38:52 +02:00
parent 3b14946421
commit 709280e3c1
3 changed files with 55 additions and 2 deletions

View File

@@ -309,8 +309,6 @@ void ProjectDBModel::dataBaseUpdated()
auto new_record = m_record;
m_record = original_record;
//This a very special case, if this nomenclature model is added
//befor any element, column count return 0, so in this case we emit column inserted
if (new_record.size() != m_record.size())
{
emit beginResetModel();