Skip to content

Commit

Permalink
fix: close main window
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaShark committed Dec 30, 2023
1 parent 1a849eb commit 4c93a3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ - (void)showFloatingWindow:(EZBaseQueryWindow *)window atPoint:(CGPoint)point {
// mainWindow has been ordered out before, so we need to order back.
if ([EZMainQueryWindow isAlive]) {
[self.mainWindow orderBack:nil];
[self.mainWindow close];
}
}

Expand Down Expand Up @@ -906,7 +907,6 @@ - (void)closeFloatingWindow {

if ([EZMainQueryWindow isAlive]) {
[self.mainWindow orderBack:nil];
[self.mainWindow close];
}

// Move floating window type to second.
Expand Down

0 comments on commit 4c93a3a

Please sign in to comment.