mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user