feat(gui): report the autologin left by an interrupted launch
Launches start from this window, so the leftover file that would log the account in at the next boot has to be visible here, while the launch that clears it is still one click away.
This commit is contained in:
1 file changed
+8
@@ -444,6 +444,14 @@ private:
|
||||
|
||||
buildRows();
|
||||
refreshRows();
|
||||
|
||||
// A launch killed before its cleanup leaves the autologin armed: the next
|
||||
// launch clears it, but the window has to say so before the reboot.
|
||||
const std::string stale = fws::staleAutologinFile();
|
||||
if (!stale.empty()) {
|
||||
setStatus("Autologin residuel (« " + stale +
|
||||
" ») : le prochain lancement le supprime.");
|
||||
}
|
||||
}
|
||||
|
||||
void buildRows() {
|
||||
|
||||
Reference in new issue
Block a user