mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 732818 - Use tab URL as AwesomeBar URL. r=mfinkle
This commit is contained in:
parent
a960713770
commit
38aa68aa3d
@ -2379,9 +2379,9 @@ abstract public class GeckoApp
|
||||
// if we're not adding a new tab, show the old url
|
||||
Tab tab = Tabs.getInstance().getSelectedTab();
|
||||
if (tab != null) {
|
||||
Tab.HistoryEntry he = tab.getLastHistoryEntry();
|
||||
if (he != null) {
|
||||
intent.putExtra(AwesomeBar.CURRENT_URL_KEY, he.mUri);
|
||||
String url = tab.getURL();
|
||||
if (url != null) {
|
||||
intent.putExtra(AwesomeBar.CURRENT_URL_KEY, url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user