@jonasschnelli You don't need to change anything in core files.  src/qt/WalletModel.cpp at most

Another thing to consider: how does this interact with encrypted wallets. Will it ask the passphrase an extra time?