Add proper parent reference to the creation of DBC edit windows. This

fixes an annoyance where the main window would gain focus improperly.
This commit is contained in:
Collin Kidder
2019-04-14 16:59:30 -04:00
parent c0f9ece30c
commit f08430c812
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ DBCMainEditor::DBCMainEditor( const QVector<CANFrame> *frames, QWidget *parent)
connect(ui->MessagesTable, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(onCustomMenuMessage(QPoint)));
ui->MessagesTable->setContextMenuPolicy(Qt::CustomContextMenu);
sigEditor = new DBCSignalEditor();
sigEditor = new DBCSignalEditor(this);
installEventFilter(this);
}