mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
fix action targets
This commit is contained in:
parent
f8afa8e085
commit
0a9b2385aa
1 changed files with 4 additions and 3 deletions
|
|
@ -493,13 +493,14 @@ impl Gemini {
|
||||||
|
|
||||||
// Open in the new tab
|
// Open in the new tab
|
||||||
action_link_tab.set_state(&request_var);
|
action_link_tab.set_state(&request_var);
|
||||||
action_link_copy_text.set_enabled(!request_str.is_empty());
|
action_link_tab.set_enabled(!request_str.is_empty());
|
||||||
|
|
||||||
|
// Copy link to the clipboard
|
||||||
action_link_copy_url.set_state(&request_var);
|
action_link_copy_url.set_state(&request_var);
|
||||||
action_link_copy_text.set_enabled(!request_str.is_empty());
|
action_link_copy_url.set_enabled(!request_str.is_empty());
|
||||||
|
|
||||||
|
// Copy link text
|
||||||
{
|
{
|
||||||
// Copy link text
|
|
||||||
let mut start_iter = iter;
|
let mut start_iter = iter;
|
||||||
let mut end_iter = iter;
|
let mut end_iter = iter;
|
||||||
if !start_iter.starts_tag(Some(&tag)) {
|
if !start_iter.starts_tag(Some(&tag)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue