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
@@ -34,7 +34,7 @@ DBCLoadSaveWindow::DBCLoadSaveWindow(const QVector<CANFrame> *frames, QWidget *p
connect(ui->tableFiles, &QTableWidget::cellChanged, this, &DBCLoadSaveWindow::cellChanged);
connect(ui->tableFiles, &QTableWidget::cellDoubleClicked, this, &DBCLoadSaveWindow::cellDoubleClicked);
editorWindow = new DBCMainEditor(frames);
editorWindow = new DBCMainEditor(frames, this);
currentlyEditingFile = nullptr;
installEventFilter(this);