sidebar will reopen always
This commit is contained in:
parent
9c11325209
commit
ba751d4e39
1 changed files with 1 additions and 3 deletions
|
|
@ -459,10 +459,8 @@ const getCommandsMap: (
|
|||
// This is a temporary fix—sidebar.webviewProtocol.request is blocking
|
||||
// when the GUI hasn't yet been setup and we should instead be
|
||||
// immediately throwing an error, or returning a Result object
|
||||
|
||||
focusGUI();
|
||||
if (!sidebar.isReady) {
|
||||
focusGUI();
|
||||
|
||||
const isReady = await waitForSidebarReady(sidebar, 5000, 100);
|
||||
if (!isReady) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue