mirror of https://github.com/AxioDL/metaforce.git
Attempt to fix crash on windows
This commit is contained in:
parent
13d4a94ee1
commit
b354ed0740
|
@ -577,7 +577,9 @@ void MainWindow::setBlenderOverride(const QString& path) {
|
|||
int major = 0;
|
||||
int minor = 0;
|
||||
auto realPath = hecl::blender::FindBlender(major, minor);
|
||||
if (realPath) {
|
||||
m_blenderOverridePath.fromStdString(*realPath);
|
||||
}
|
||||
|
||||
m_settings.setValue(QStringLiteral("blender_override_path"), m_blenderOverridePath);
|
||||
auto oldState = m_ui->blenderEdit->blockSignals(true);
|
||||
|
|
Loading…
Reference in New Issue