Skip to content

Commit 4110b69

Browse files
committed
removed nolonger needed config switch 'defaultFormat'
1 parent a3c6796 commit 4110b69

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

signaturenDruck/js/manualRenderer.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ let max = 1
1616

1717
window.onload = function () {
1818
pushFormatsToSelect()
19-
selectDefaultFormat()
2019
createByFormat(getFormatSelected().lines)
2120
}
2221

@@ -177,10 +176,6 @@ function saveCurrent () {
177176
object.manual[id].modes.push(data)
178177
}
179178

180-
function selectDefaultFormat () {
181-
document.getElementById('formatSelect').value = config.get('defaultFormat')
182-
}
183-
184179
function next () {
185180
let i = 1
186181
let isEmpty = true
@@ -199,7 +194,6 @@ function next () {
199194
if (object.manual[id] !== undefined) {
200195
loadData()
201196
} else {
202-
selectDefaultFormat()
203197
createByFormat(getFormatSelected().lines)
204198
max++
205199
focusFirst()
@@ -241,7 +235,6 @@ function deleteData () {
241235
if (object.manual[id] !== undefined) {
242236
loadData()
243237
} else {
244-
selectDefaultFormat()
245238
createByFormat(getFormatSelected().lines)
246239
}
247240
}

signaturenDruck/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ require('electron-context-menu')({
2525
// default main config settings
2626
const configNew = {
2727
defaultDownloadPath: 'C:/Export/download.dnl',
28-
defaultFormat: 'thulb_gross',
2928
sortByPPN: false,
3029
useK10plus: true,
3130
example: {

0 commit comments

Comments
 (0)