mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refs #755, temp. workaround for multi line placeholder bug
This commit is contained in:
committed by
Roland Winklmeier
parent
10325ee8a9
commit
c4769e2ab5
@@ -230,8 +230,15 @@ namespace BlackGui
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const QString es(e.join('\n'));
|
//! \todo correct version when multiline placeholder is fixed
|
||||||
ui->pte_ExcludeDirectories->setPlaceholderText(es);
|
// const QString es(e.join('\n'));
|
||||||
|
// ui->pte_ExcludeDirectories->setPlaceholderText(es);
|
||||||
|
|
||||||
|
// workaround
|
||||||
|
if (!e.empty())
|
||||||
|
{
|
||||||
|
ui->pte_ExcludeDirectories->setPlaceholderText(e.first());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user