Refresh shortcuts.

Took 13 minutes
This commit is contained in:
Lukas Brübach 2025-07-11 00:56:20 +02:00
parent 8199a5e2dd
commit 4c112c6c55
2 changed files with 4 additions and 1 deletions

View file

@ -87,6 +87,10 @@ ReplayManager::ReplayManager(TabGame *parent, GameReplay *_replay)
setLayout(replayControlLayout); setLayout(replayControlLayout);
connect(this, &ReplayManager::requestChatAndPhaseReset, game, &TabGame::resetChatAndPhase); connect(this, &ReplayManager::requestChatAndPhaseReset, game, &TabGame::resetChatAndPhase);
connect(&SettingsCache::instance().shortcuts(), &ShortcutsSettings::shortCutChanged, this,
&ReplayManager::refreshShortcuts);
refreshShortcuts();
} }
void ReplayManager::replayNextEvent(Player::EventProcessingOptions options) void ReplayManager::replayNextEvent(Player::EventProcessingOptions options)

View file

@ -96,7 +96,6 @@ private:
QStringList autocompleteUserList; QStringList autocompleteUserList;
QStackedWidget *mainWidget; QStackedWidget *mainWidget;
CardInfoFrameWidget *cardInfoFrameWidget; CardInfoFrameWidget *cardInfoFrameWidget;
PlayerListWidget *playerListWidget; PlayerListWidget *playerListWidget;
QLabel *timeElapsedLabel; QLabel *timeElapsedLabel;