Skip to content

Commit 6bbec30

Browse files
authored
Fix #329: Hide disabled QR scanner in recovery phrase import menu (#338)
1 parent 7bfd519 commit 6bbec30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/specter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ async def initmenu(self):
298298

299299
async def import_mnemonic(self):
300300
host = await self.gui.menu(title="What to use for import?", note="\n",
301-
buttons=[(host, host.button) for host in self.hosts if host.button],
301+
buttons=[(host, host.button) for host in self.hosts if host.is_enabled],
302302
last=(255, None))
303303
if host == 255:
304304
return

0 commit comments

Comments
 (0)