mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Commands are now saved upon pressing Ok in the settings window (#2016)
Commands are now saved upon pressing the Ok Button in the settings window, similar to the rest of the settings.
This commit is contained in:
parent
a2e12a56e3
commit
80e84b1d8a
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -73,5 +73,8 @@ rapidjson/*
|
||||||
|
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
#I HATE MAC
|
# I HATE MAC
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Other editors/IDEs
|
||||||
|
.vscode
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
- Minor: Changed the English in two rate-limited system messages (#1878)
|
- Minor: Changed the English in two rate-limited system messages (#1878)
|
||||||
- Minor: Added image for streamer mode in the user popup icon.
|
- Minor: Added image for streamer mode in the user popup icon.
|
||||||
- Minor: Added vip and unvip buttons.
|
- Minor: Added vip and unvip buttons.
|
||||||
|
- Minor: Commands are now saved upon pressing Ok in the settings window
|
||||||
- Minor: Colorized nicknames now enabled by default
|
- Minor: Colorized nicknames now enabled by default
|
||||||
- Minor: Show channels live now enabled by default
|
- Minor: Show channels live now enabled by default
|
||||||
- Minor: Bold usernames enabled by default
|
- Minor: Bold usernames enabled by default
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include "Application.hpp"
|
#include "Application.hpp"
|
||||||
#include "common/Args.hpp"
|
#include "common/Args.hpp"
|
||||||
|
#include "controllers/commands/CommandController.hpp"
|
||||||
#include "singletons/Resources.hpp"
|
#include "singletons/Resources.hpp"
|
||||||
#include "util/LayoutCreator.hpp"
|
#include "util/LayoutCreator.hpp"
|
||||||
#include "util/Shortcut.hpp"
|
#include "util/Shortcut.hpp"
|
||||||
|
@ -318,6 +319,7 @@ void SettingsDialog::onOkClicked()
|
||||||
{
|
{
|
||||||
if (!getArgs().dontSaveSettings)
|
if (!getArgs().dontSaveSettings)
|
||||||
{
|
{
|
||||||
|
getApp()->commands->save();
|
||||||
pajlada::Settings::SettingManager::gSave();
|
pajlada::Settings::SettingManager::gSave();
|
||||||
}
|
}
|
||||||
this->close();
|
this->close();
|
||||||
|
|
Loading…
Reference in a new issue