Some settings can now be "reverted" by pressing cancel in the settings dialog
Modify visibility of some members of SettingsDialog update external libraries Progress on #180
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "settingsmanager.hpp"
|
||||
#include "settingssnapshot.hpp"
|
||||
#include "widgets/accountswitchwidget.hpp"
|
||||
#include "widgets/helper/settingsdialogtab.hpp"
|
||||
|
||||
@@ -27,11 +26,13 @@ namespace widgets {
|
||||
|
||||
class SettingsDialog : public BaseWidget
|
||||
{
|
||||
public:
|
||||
SettingsDialog();
|
||||
|
||||
void select(SettingsDialogTab *tab);
|
||||
|
||||
friend class SettingsDialogTab;
|
||||
|
||||
public:
|
||||
enum class PreferredTab {
|
||||
NoPreference,
|
||||
Accounts,
|
||||
@@ -45,7 +46,6 @@ protected:
|
||||
private:
|
||||
void refresh();
|
||||
|
||||
SettingsSnapshot snapshot;
|
||||
std::vector<SettingsDialogTab *> tabs;
|
||||
|
||||
pajlada::Settings::Setting<int> usernameDisplayMode;
|
||||
|
||||
Reference in New Issue
Block a user