diff --git a/src/EditTableDialog.cpp b/src/EditTableDialog.cpp index 0a6e1e4a..2f974291 100644 --- a/src/EditTableDialog.cpp +++ b/src/EditTableDialog.cpp @@ -76,7 +76,7 @@ void EditTableDialog::keyPressEvent(QKeyEvent *evt) if((evt->modifiers() & Qt::ControlModifier) && (evt->key() == Qt::Key_Enter || evt->key() == Qt::Key_Return)) { - emit accept(); + accept(); return; } if(evt->key() == Qt::Key_Enter || evt->key() == Qt::Key_Return) diff --git a/src/sqlitetablemodel.cpp b/src/sqlitetablemodel.cpp index d8711993..ea01bb94 100644 --- a/src/sqlitetablemodel.cpp +++ b/src/sqlitetablemodel.cpp @@ -364,7 +364,7 @@ bool SqliteTableModel::setTypedData(const QModelIndex& index, bool isBlob, const m_data[index.row()].replace(index.column(), newValue); lock.unlock(); - emit(dataChanged(index, index)); + emit dataChanged(index, index); return true; } else { lock.unlock();