console: fix checkbox to save password if it was loaded from keyring
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1302175 Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
7280dcf7df
commit
7e1bd1d762
|
@ -627,7 +627,7 @@ class vmmConsolePages(vmmGObjectUI):
|
|||
bool(self.config.has_keyring()))
|
||||
if self.config.has_keyring():
|
||||
self.widget("console-auth-remember").set_active(
|
||||
bool(pw and username))
|
||||
bool(withPassword and pw) or (withUsername and username))
|
||||
|
||||
self.widget("console-pages").set_current_page(
|
||||
_CONSOLE_PAGE_AUTHENTICATE)
|
||||
|
|
Loading…
Reference in New Issue