mirror of
https://bitbucket.org/grumdrig/pq.git
synced 2026-09-29 08:44:00 -06:00
Don't try to make file associations starting with Vista
At some point the registry key setting stopped working, not sure as of what Windows version. But this will avoid the 'Failed to set data for '' ' error
This commit is contained in:
@@ -1279,7 +1279,7 @@ begin
|
|||||||
FMinToTray := true;
|
FMinToTray := true;
|
||||||
FExportSheets := false;
|
FExportSheets := false;
|
||||||
|
|
||||||
MakeFileAssociations;
|
if Win32MajorVersion < 6 then MakeFileAssociations;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMainForm.SpeedButton1Click(Sender: TObject);
|
procedure TMainForm.SpeedButton1Click(Sender: TObject);
|
||||||
|
|||||||
Reference in New Issue
Block a user