When starting bitcoin-qt with `-nowallet` to explicitly not load any wallets initially, attempting to load a wallet using the Open Wallet menu option results in the wallet being loaded but the GUI does not change. The wallet is reachable via the RPC interface but the GUI still says that no wallets are loaded.
class PlatformStyle;
namespace interfaces {
class Handler;
class Node;
} 
class OpenWalletActivity;
/**
 * Controller between interfaces::Node, WalletModel instances and the GUI.
 */
class WalletController : public QObject
{
    Q_OBJECT
    WalletModel* getOrCreateWallet(std::unique_ptr<interfaces::Wallet> wallet);
    void removeAndDeleteWallet(WalletModel* wallet_model);
public:
    WalletController(interfaces::Node& node, const PlatformStyle* platform_style, OptionsModel* options_model, QObject* parent);
    ~WalletController();
    
    std::vector<WalletModel*> getOpenWallets() const;
    
    
    std::map<std::string, bool> listWalletDir() const;
    OpenWalletActivity* openWallet(const std::string& name, QWidget* parent = nullptr);
    void closeWallet(WalletModel* wallet_model, QWidget* parent = nullptr);
private Q_SLOTS:
    void addWallet(WalletModel* wallet_model);
Q_SIGNALS: