mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix panic
This commit is contained in:
parent
565748ae58
commit
a4aca33d02
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ fn render(
|
||||||
c: Cancellable,
|
c: Cancellable,
|
||||||
) {
|
) {
|
||||||
use crate::tool::uri_to_title;
|
use crate::tool::uri_to_title;
|
||||||
let q = u.to_string();
|
let q = u.path();
|
||||||
if is_image(&q) {
|
if is_image(&q) {
|
||||||
p.window_action.find.simple_action.set_enabled(false);
|
p.window_action.find.simple_action.set_enabled(false);
|
||||||
Pixbuf::from_stream_async(&m, Some(&c), move |r| match r {
|
Pixbuf::from_stream_async(&m, Some(&c), move |r| match r {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue