diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-10-02 16:06:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 16:06:12 +0200 |
commit | d612ab94a70cb2d5b64fe74771de0dd42043f6d9 (patch) | |
tree | 6464f4f5ccbe4081ae6252a1b44778d2a16c89ea /launcher | |
parent | bfa96133736b4a89e6dd39b6a67bee65a0af88b4 (diff) | |
parent | 93be8b07356058f85dd2977f941ab1fe219b36de (diff) | |
download | PrismLauncher-d612ab94a70cb2d5b64fe74771de0dd42043f6d9.tar.gz PrismLauncher-d612ab94a70cb2d5b64fe74771de0dd42043f6d9.tar.bz2 PrismLauncher-d612ab94a70cb2d5b64fe74771de0dd42043f6d9.zip |
Merge pull request #1672 from Trial97/skin_refresh
refresh default account when list changes
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/ui/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index 64873ebb..1202c331 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -363,7 +363,7 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWi // Shouldn't have to use lambdas here like this, but if I don't, the compiler throws a fit. // Template hell sucks... connect(APPLICATION->accounts().get(), &AccountList::defaultAccountChanged, [this] { defaultAccountChanged(); }); - connect(APPLICATION->accounts().get(), &AccountList::listChanged, [this] { repopulateAccountsMenu(); }); + connect(APPLICATION->accounts().get(), &AccountList::listChanged, [this] { defaultAccountChanged(); }); // Show initial account defaultAccountChanged(); |