Source commit: 8b61613a74f1cd54538603f016b9c9674ce0138f
@@ -596,6 +596,7 @@ TObject * __fastcall TUnixDirView::SaveState()
void __fastcall TUnixDirView::AnnounceState(TObject * State)
{
TObject * CustomDirViewState = NULL;
+ FAnnouncedDriveViewState = NULL;
if (State != NULL)
TUnixDirViewState * UnixDirViewState = dynamic_cast<TUnixDirViewState *>(State);
@@ -615,6 +615,7 @@ end;
type
TDirViewState = class(TObject)
public
+ constructor Create;
destructor Destroy; override;
private
@@ -625,6 +626,11 @@ type
FocusedItem: string;
end;
+constructor TDirViewState.Create;
+begin
+ inherited;
+end;
+
destructor TDirViewState.Destroy;
begin
HistoryPaths.Free;