Qt/Input: fix default pad handler

We accidentally always saved keyboard to Player 1 if null was selected.
The new code will only apply keyboard by default if the config file was not found.
This commit is contained in:
Megamouse 2020-09-21 22:16:49 +02:00
parent 34eff440eb
commit 5d50602397
4 changed files with 21 additions and 9 deletions

View file

@ -1138,7 +1138,7 @@ void pad_settings_dialog::ChangeInputType()
bool force_enable = false; // enable configs even with disconnected devices
const int player = ui->tabWidget->currentIndex();
const bool is_ldd_pad = GetIsLddPad(player);
std::string handler;
std::string device;
std::string profile;