Skip to content

Commit b5196ac

Browse files
authored
DeviceConfig changes (part 3)
1 parent 4f8f291 commit b5196ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/qt_mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ MainWindow::MainWindow(QWidget *parent)
220220
device_set_context(&ctx, devices[i], devices_instances[i]);
221221

222222
auto action = ui->menuDevice_settings->addAction(QString(ctx.name), [this, ctx, i] {
223-
DeviceConfig::ConfigureDevice(devices[i], devices_instances[i], nullptr, true);
223+
DeviceConfig::ConfigureDevice(devices[i], devices_instances[i], this, true);
224224
devices[i]->reload_config(device_priv[i]);
225225
endblit();
226226
});

0 commit comments

Comments
 (0)