mirror of
https://github.com/storytold/egui.git
synced 2026-11-21 01:52:58 +01:00
bug fix: open links in same tab by default
This commit is contained in:
1 parent
ea248d66b5
commit
cb7ef6faeb
1 file changed
+1
-1
@@ -29,7 +29,7 @@ impl Output {
|
||||
/// Open the given url in a web browser.
|
||||
/// If egui is running in a browser, the same tab will be reused.
|
||||
pub fn open_url(&mut self, url: impl Into<String>) {
|
||||
self.open_url = Some(OpenUrl::new_tab(url))
|
||||
self.open_url = Some(OpenUrl::same_tab(url))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user