mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-11-22 16:57:12 +01:00
ModUI: Handle opening filter panel with NULL user agent
This commit is contained in:
parent
c189c47306
commit
c2b5e95903
1 changed files with 1 additions and 1 deletions
2
mod.py
2
mod.py
|
@ -61,7 +61,7 @@ class NullptrMod(Screen):
|
||||||
case 2: finput.value = self.current_file.addr
|
case 2: finput.value = self.current_file.addr
|
||||||
case 3: finput.value = self.current_file.mime
|
case 3: finput.value = self.current_file.mime
|
||||||
case 4: finput.value = self.current_file.ext
|
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:
|
def on_input_submitted(self, message: Input.Submitted) -> None:
|
||||||
self.query_one("#filter_container").display = False
|
self.query_one("#filter_container").display = False
|
||||||
|
|
Loading…
Reference in a new issue