mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
overlays/osk: do not change the preview text on empty input
This prevents that the placeholder disappears
This commit is contained in:
parent
f1127f1894
commit
a1f70bf96e
@ -558,6 +558,11 @@ namespace rsx
|
|||||||
|
|
||||||
void osk_dialog::on_default_callback(const std::u32string& str)
|
void osk_dialog::on_default_callback(const std::u32string& str)
|
||||||
{
|
{
|
||||||
|
if (str.empty())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Append to output text
|
// Append to output text
|
||||||
if (m_preview.text == get_placeholder())
|
if (m_preview.text == get_placeholder())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user