Fixed bug where index would not be read correctly

This commit is contained in:
Daniel Schick 2025-03-14 07:54:22 +01:00
parent d1c131c52b
commit b7f0108f52

View File

@ -580,9 +580,11 @@ namespace ENI2
{
// ggf. hat sich die Ticketnr geändert..
DBManager.GetSingleCon(Properties.Settings.Default.ConnectionString).Save(currentControl.Core);
currentMainTabIndex = currentControl.SelectedTabIndex;
}
currentMainTabIndex = currentControl.SelectedTabIndex;
Trace.WriteLine($"Last selected tab index: {currentMainTabIndex}");
this.buttonSaveAll.Visibility = Visibility.Hidden;
this.buttonSave.Visibility = Visibility.Hidden;