mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-25 09:38:24 +00:00
Merge pull request #6413 from Kewlan/limitable_input_dialog_limit
limitable_input_dialog: Implement character limiter
This commit is contained in:
commit
9d266a4aa3
3 changed files with 48 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue