Работа над хоткеями

This commit is contained in:
Book Pauk
2020-03-18 18:20:57 +07:00
parent d1126a7eb0
commit 589f7f3c22
3 changed files with 79 additions and 21 deletions

View File

@@ -156,7 +156,6 @@ class SettingsPage extends Vue {
serverStorageKeyVisible = false;
toolButtons = [];
rstore = {};
testCode = 'Добавить сочетание';
created() {
this.commit = this.$store.commit;
@@ -365,17 +364,6 @@ testCode = 'Добавить сочетание';
this.showToolButton = Object.assign({}, this.showToolButton, {[buttonName]: !this.showToolButton[buttonName]});
}
async addHotKeyCode() {
try {
const result = await this.$root.stdDialog.getHotKey('Нажмите сочетание клавиш:', '');
if (result) {
this.testCode = result;
}
} catch (e) {
//
}
}
async addProfile() {
try {
if (Object.keys(this.profiles).length >= 100) {