bug fix: open links in same tab by default

This commit is contained in:
Emil Ernerfeldt 2021-03-08 20:25:43 +01:00
parent ea248d66b5
commit cb7ef6faeb

View file

@ -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))
}
}