Skip to content

Commit 596c56d

Browse files
committed
fix: disable the popup menu when show password mode
disable the popup menu when show password mode PMS: BUG-351233
1 parent 241ba60 commit 596c56d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dcc-network/qml/PageHotspot.qml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ DccObject {
291291
}
292292
editDlg.config["802-11-wireless-security"].psk = text
293293
}
294+
// 在显示明文时禁用右键菜单
295+
MouseArea {
296+
anchors.fill: parent
297+
acceptedButtons: Qt.RightButton
298+
enabled: parent.echoMode === TextInput.Password
299+
}
294300
}
295301
}
296302
NetItemEditor {

0 commit comments

Comments
 (0)