mirror of
https://github.com/EpicMorg/UniversalValveToolbox.git
synced 2025-01-13 15:18:14 +03:00
fixed bug with creating new project
This commit is contained in:
parent
4987788877
commit
e15ec3ddc9
@ -86,7 +86,7 @@ namespace UniversalValveToolbox {
|
||||
}
|
||||
|
||||
private void comboBoxEngine_SelectedIndexChanged(object sender, EventArgs e) {
|
||||
if (model.SelectProject != null)
|
||||
if (model.SelectProject != null && comboBoxEngine.SelectedItem != null)
|
||||
model.SelectProject.Engine = ((EngineDtoModel)comboBoxEngine.SelectedItem).Appid;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user