Skip to content

Commit

Permalink
Always set window owner
Browse files Browse the repository at this point in the history
  • Loading branch information
javalikescript committed Jan 29, 2022
1 parent 79ee8c8 commit 02bc587
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions fcut.lua
Original file line number Diff line number Diff line change
Expand Up @@ -391,12 +391,9 @@ else
}))
if config.webview.native then
serialWorker = require('jls.util.SerialWorker'):new()
serialWorker:call(function()
local win32 = require('win32')
win32.SetWindowOwner();
_G.win32 = win32
end)
local function getFileName(message)
local win32 = require('win32')
win32.SetWindowOwner()
if message then
if message.save then
return {win32.GetSaveFileName()}
Expand Down

0 comments on commit 02bc587

Please sign in to comment.