mirror of
https://github.com/yanue/V2rayU.git
synced 2025-06-27 05:30:09 +00:00
修正close函数无法判断nib相关的窗口而引起的多窗口问题
This commit is contained in:
parent
112a32d138
commit
212feabb92
@ -71,6 +71,7 @@
|
||||
<outlet property="vmessPort" destination="UVC-X3-LD3" id="2qh-18-ZrZ"/>
|
||||
<outlet property="vmessSecurity" destination="Pj0-ZW-RX6" id="Uv5-eV-LQH"/>
|
||||
<outlet property="vmessUserId" destination="fBB-vZ-Uij" id="ecR-Iy-tgA"/>
|
||||
<outlet property="window" destination="QvC-M9-y7g" id="QkV-hM-UcI"/>
|
||||
<outlet property="wsHost" destination="J2o-zN-FBt" id="gAT-ZQ-W96"/>
|
||||
<outlet property="wsPath" destination="Anc-Zc-Ixg" id="MRm-gH-Exm"/>
|
||||
<outlet property="wsView" destination="EDO-0J-rK1" id="vRX-kZ-tQm"/>
|
||||
|
@ -10,6 +10,7 @@
|
||||
<connections>
|
||||
<outlet property="shareQrcode" destination="A7n-ua-0nz" id="osg-S9-FM3"/>
|
||||
<outlet property="shareUri" destination="u9M-IA-5nP" id="jNY-gA-XtE"/>
|
||||
<outlet property="window" destination="QvC-M9-y7g" id="cqA-r1-G1j"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
|
@ -231,7 +231,7 @@ class MenuController: NSObject, NSMenuDelegate {
|
||||
}
|
||||
|
||||
// config window title is "V2rayU"
|
||||
if object.title == "V2rayU" {
|
||||
if object.title == "V2rayU" && self.closedByConfigWindow == false {
|
||||
self.hideDock()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user