Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 63792f1a authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Pull request #113: correctly open battery dialog

Merge in VECTO/vecto-dev from VECTO/mq_vecto-dev:bugfix/VECTO-1491-electric-energy-storage-editor-does-not-show-values to develop

* commit '7f1c6f18':
  correctly open battery dialog
parents 900dd903 7f1c6f18
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,13 @@ Public Class REESSPackDialog
End If
End If
if BatteryForm.ShowDialog() = DialogResult.OK then
tbBattery.Text = BatteryForm.BatteryFile
end if
if Not BatteryForm.Visible Then
BatteryForm.Show()
Else
If BatteryForm.WindowState = FormWindowState.Minimized Then BatteryForm.WindowState = FormWindowState.Normal
BatteryForm.BringToFront()
End If
If Not Trim(f) = "" Then
Try
BatteryForm.OpenBatteryFile(f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment