From 5387896f52ef2bd4825fa63901b440ed9e2c1ec4 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Fri, 29 Jan 2016 23:11:19 +0100 Subject: [PATCH] Edit: Fix bug introduced in 2242ce8ee66f1fb62fb5d7b4c16d995c660db4f8 Fix a bug introduced by commit 2242ce8ee66f1fb62fb5d7b4c16d995c660db4f8 which didn't change the code only for the edit dialog, not for the edit dock. See issue #508. --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 5b7bf785..cbb4dcc7 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -184,7 +184,7 @@ void MainWindow::init() connect(editWin, SIGNAL(goingAway()), this, SLOT(editWinAway())); connect(editWin, SIGNAL(updateRecordText(int, int, bool, QByteArray)), this, SLOT(updateRecordText(int, int, bool, QByteArray))); connect(editDock, SIGNAL(goingAway()), this, SLOT(editWinAway())); - connect(editDock, SIGNAL(updateRecordText(int, int, QByteArray)), this, SLOT(updateRecordText(int, int, QByteArray))); + connect(editDock, SIGNAL(updateRecordText(int, int, bool, QByteArray)), this, SLOT(updateRecordText(int, int, bool, QByteArray))); connect(ui->dbTreeWidget->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)), this, SLOT(changeTreeSelection())); connect(ui->dataTable->horizontalHeader(), SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(showDataColumnPopupMenu(QPoint)));