Skip to content

Commit

Permalink
DeviceConfig changes (part 3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 authored Feb 2, 2024
1 parent 4f8f291 commit b5196ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/qt_mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ MainWindow::MainWindow(QWidget *parent)
device_set_context(&ctx, devices[i], devices_instances[i]);

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

0 comments on commit b5196ac

Please sign in to comment.