mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-12 11:55:32 +00:00
fix(windows): Ensure UAC window comes to foreground
Fixes #3936. This is a trial change as I am not able to reproduce the problem on my machine, probably due to timing. @makarasok, can you please test if this resolves the UAC window not coming to foreground on your test scenario for #3936?
This commit is contained in:
parent
95e086feb9
commit
ba9ecb6095
1 changed files with 1 additions and 1 deletions
|
|
@ -302,7 +302,7 @@ begin
|
|||
Manager.UpdateProgress('Installing Keyboard', 0, 0);
|
||||
t := TTempFileManager.Get('.log');
|
||||
try
|
||||
if WaitForElevatedConfiguration(Handle, '-log "'+t.Name+'" -s -i "'+FInstallFile+'='+BCP47Tag+'" -nowelcome') = 0 then
|
||||
if WaitForElevatedConfiguration(GetForegroundWindow, '-log "'+t.Name+'" -s -i "'+FInstallFile+'='+BCP47Tag+'" -nowelcome') = 0 then
|
||||
begin
|
||||
// install the keyboard tip
|
||||
if not InstallTipForKeyboard(BCP47Tag) then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue