Replaced port area helper and avoided crash when searching at a harbour that has no entries
This commit is contained in:
parent
703986bbbc
commit
ee6658bafd
@ -522,6 +522,8 @@ namespace ENI2.DetailViewControls
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void buttonSearchPortArea_Click(object sender, RoutedEventArgs e)
|
private void buttonSearchPortArea_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
if (portAreas != null)
|
||||||
{
|
{
|
||||||
SelectPortAreaDialog spad = new SelectPortAreaDialog(this.Core.PoC);
|
SelectPortAreaDialog spad = new SelectPortAreaDialog(this.Core.PoC);
|
||||||
if (spad.ShowDialog() ?? false)
|
if (spad.ShowDialog() ?? false)
|
||||||
@ -536,6 +538,7 @@ namespace ENI2.DetailViewControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
BIN
misc/db.sqlite
BIN
misc/db.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user