Free cookie consent management tool by TermsFeed Policy Generator

Changeset 4344


Ignore:
Timestamp:
08/31/10 11:09:53 (14 years ago)
Author:
mkommend
Message:

completely removed caching in the ViewHost => corrected bug showing a ghost view (ticket #1133)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs

    r4314 r4344  
    110110          }
    111111        }
    112         if (ActiveView != null) {
    113           ActiveView.Content = Content;
    114           if (ActiveViewControl != null) ActiveViewControl.Visible = true;
    115         }
    116       } else if (ActiveViewControl != null)
    117         ActiveViewControl.Visible = false;
    118 
     112        if (ActiveView != null) ActiveView.Content = Content;
     113      } else ActiveView = null;
    119114      UpdateLabels();
    120115    }
Note: See TracChangeset for help on using the changeset viewer.