Don't set the text if it's the same, allows to keep selection.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@454 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
88b25a7da9
commit
f7530134b1
@ -603,7 +603,8 @@ URLInputGroup::TextView() const
|
||||
void
|
||||
URLInputGroup::SetText(const char* text)
|
||||
{
|
||||
fTextView->SetText(text);
|
||||
if (!text || !Text() || strcmp(Text(), text) != 0)
|
||||
fTextView->SetText(text);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user