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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user