Fix avoiding unnecessary password changes.
This commit is contained in:
parent
92c9c6df9c
commit
0a1f89a270
1 changed files with 2 additions and 1 deletions
|
|
@ -116,8 +116,9 @@ public class DisplayController extends Component {
|
|||
}
|
||||
|
||||
if (Objects.equals(this.currentPassword, password)) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
this.currentPassword = password;
|
||||
logger.fine(() -> "Updating display password");
|
||||
fire(new MonitorCommand(new QmpSetDisplayPassword(protocol, password)));
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue