mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Ensure question icon is not the first one in the application, so the exe does not use the question icon any more. See http://stackoverflow.com/questions/15564755/adding-a-res-file-to-project-replaces-the-default-icon-how-to-prevent-it
This commit is contained in:
@@ -1 +1 @@
|
||||
ICONQUESTION ICON "icons\icon-question.ico"
|
||||
Z_ICONQUESTION ICON "icons\icon-question.ico"
|
||||
@@ -2367,7 +2367,7 @@ begin
|
||||
mtConfirmation, mtCustom: begin
|
||||
if not Assigned(ConfirmIcon) then begin
|
||||
ConfirmIcon := TIcon.Create;
|
||||
ConfirmIcon.LoadFromResourceName(hInstance, 'ICONQUESTION');
|
||||
ConfirmIcon.LoadFromResourceName(hInstance, 'Z_ICONQUESTION');
|
||||
end;
|
||||
Dialog.Flags := Dialog.Flags + [tfUseHiconMain];
|
||||
Dialog.CustomMainIcon := ConfirmIcon;
|
||||
|
||||
Reference in New Issue
Block a user