Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix (?) button opening the link twice #2664

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

barontek
Copy link
Contributor

@barontek barontek commented Sep 1, 2024

Pull Request

Title

Fix (?) button opening the link twice

Type of Change

  • Bug fix
  • Hotfix

Description

(?) button causes the tooltip link to be opened twice. This is caused by having 2 seperate functions opening the link. One is in functions\public\Invoke-WPFUIElements.ps1 on lines 307-312 and the other one is in functions\private\Show-CustomDialog.ps1 on line 227.
I have deleted the one on WPFUIElements to prevent double tab opening.

Testing

I have compiled the script on my own computer after the change and It seems to be working well and the tooltip now opens 1 tab only.

Issue related to PR

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no errors/warnings/merge conflicts.

Copy link
Contributor

@MyDrift-user MyDrift-user left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, did not notice there was already an event handler.. Thanks for the fix :)

@ChrisTitusTech ChrisTitusTech merged commit 380e1e7 into ChrisTitusTech:main Sep 10, 2024
1 check passed
@ChrisTitusTech ChrisTitusTech added the skip-changelog Skip Change Logs label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skip Change Logs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"?" button oopens now 2 tabs on browser
4 participants