mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 21:17:58 -05:00
limitable_input_dialog: Implement character limiter
When using GetText() you can now choose what set of characters the user can't enter.
This commit is contained in:
@ -1395,7 +1395,8 @@ void ConfigureInputPlayer::keyPressEvent(QKeyEvent* event) {
|
||||
|
||||
void ConfigureInputPlayer::CreateProfile() {
|
||||
const auto profile_name =
|
||||
LimitableInputDialog::GetText(this, tr("New Profile"), tr("Enter a profile name:"), 1, 20);
|
||||
LimitableInputDialog::GetText(this, tr("New Profile"), tr("Enter a profile name:"), 1, 20,
|
||||
LimitableInputDialog::InputLimiter::Filesystem);
|
||||
|
||||
if (profile_name.isEmpty()) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user