// only switch mussas if we loaded without error
delete analysis;
analysis = new_analysis;
+ setWindowTitle(analysis->get_name().c_str());
updateAnalysis();
}
}
m->load_mupa_file(converted_path);
m->analyze(0, 0, Mussa::TransitiveNway, 0.0);
setAnalysis(m);
+ setWindowTitle(converted_path.native_file_string().c_str());
} catch (mussa_load_error e) {
QString msg("Unable to load ");
msg += mupa_path;
m->load(converted_path);
// only switch mussas if we loaded without error
setAnalysis(m);
+ setWindowTitle(converted_path.native_file_string().c_str());
} catch (mussa_load_error e) {
QString msg("Unable to load ");
msg += muway_dir;