mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Periodically store portable settings file, each 60 seconds. In case of a crash, the user does not loose dialog settings and whatever was customized. See http://www.heidisql.com/forum.php?t=18144#p18243
This commit is contained in:
@ -226,8 +226,10 @@ type
|
||||
procedure ResetPath;
|
||||
property SessionPath: String read FSessionPath write SetSessionPath;
|
||||
property PortableMode: Boolean read FPortableMode;
|
||||
property Writes: Integer read FWrites;
|
||||
procedure ImportSettings(Filename: String);
|
||||
procedure ExportSettings(Filename: String);
|
||||
procedure ExportSettings(Filename: String); overload;
|
||||
procedure ExportSettings; overload;
|
||||
end;
|
||||
|
||||
|
||||
@ -3792,6 +3794,11 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TAppSettings.ExportSettings;
|
||||
begin
|
||||
ExportSettings(FSettingsFile);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user