mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-31 16:09:56 +00:00
AccountSwitcher: keep sort order during session
This commit is contained in:
parent
93bfb93fb3
commit
5b5daa7089
2 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "config-feather.h"
|
||||
#include "constants.h"
|
||||
#include "dialog/AccountSwitcherDialog.h"
|
||||
#include "dialog/BalanceDialog.h"
|
||||
#include "dialog/DebugInfoDialog.h"
|
||||
#include "dialog/PasswordDialog.h"
|
||||
|
@ -53,6 +52,7 @@ MainWindow::MainWindow(WindowManager *windowManager, Wallet *wallet, QWidget *pa
|
|||
|
||||
m_windowCalc = new CalcWindow(this);
|
||||
m_splashDialog = new SplashDialog(this);
|
||||
m_accountSwitcherDialog = new AccountSwitcherDialog(m_ctx, this);
|
||||
|
||||
this->restoreGeo();
|
||||
|
||||
|
@ -1030,8 +1030,7 @@ void MainWindow::showWalletCacheDebugDialog() {
|
|||
}
|
||||
|
||||
void MainWindow::showAccountSwitcherDialog() {
|
||||
AccountSwitcherDialog dialog{m_ctx, this};
|
||||
dialog.exec();
|
||||
m_accountSwitcherDialog->show();
|
||||
}
|
||||
|
||||
void MainWindow::showAddressChecker() {
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "SettingsDialog.h"
|
||||
|
||||
#include "dialog/AboutDialog.h"
|
||||
#include "dialog/AccountSwitcherDialog.h"
|
||||
#include "dialog/SignVerifyDialog.h"
|
||||
#include "dialog/VerifyProofDialog.h"
|
||||
#include "dialog/SeedDialog.h"
|
||||
|
@ -230,6 +231,7 @@ private:
|
|||
|
||||
CalcWindow *m_windowCalc = nullptr;
|
||||
SplashDialog *m_splashDialog = nullptr;
|
||||
AccountSwitcherDialog *m_accountSwitcherDialog = nullptr;
|
||||
|
||||
#ifdef HAS_XMRIG
|
||||
XMRigWidget *m_xmrig = nullptr;
|
||||
|
|
Loading…
Reference in a new issue