mirror of
https://git.0x0.st/mia/0x0.git
synced 2026-01-09 03:51:54 +03:00
ModUI: Handle opening filter panel with NULL user agent
This commit is contained in:
2
mod.py
2
mod.py
@@ -61,7 +61,7 @@ class NullptrMod(Screen):
|
||||
case 2: finput.value = self.current_file.addr
|
||||
case 3: finput.value = self.current_file.mime
|
||||
case 4: finput.value = self.current_file.ext
|
||||
case 5: finput.value = self.current_file.ua
|
||||
case 5: finput.value = self.current_file.ua or ""
|
||||
|
||||
def on_input_submitted(self, message: Input.Submitted) -> None:
|
||||
self.query_one("#filter_container").display = False
|
||||
|
||||
Reference in New Issue
Block a user