change save as to save and use existing key. auto-focus process name for save
This commit is contained in:
parent
2184f412a1
commit
15c91b3233
4 changed files with 3 additions and 4 deletions
|
|
@ -2729,7 +2729,7 @@
|
|||
if (sk == settings.process.processName) {
|
||||
load.setAttribute('class', 'selected')
|
||||
}
|
||||
$('settingsName').value = settings.process.processName;
|
||||
UI.settingsName.value = settings.process.processName;
|
||||
|
||||
del.setAttribute('del', sk);
|
||||
del.setAttribute('title', "remove '"+sk+"'");
|
||||
|
|
@ -2758,6 +2758,7 @@
|
|||
function showSettings() {
|
||||
updateSettingsList();
|
||||
showModal("saves");
|
||||
UI.settingsName.focus();
|
||||
}
|
||||
|
||||
function showHelp() {
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@
|
|||
<div id="settingsList" class="f-col"></div>
|
||||
<div id="settingsNew">
|
||||
<input id="settingsName" class="grow"></input>
|
||||
<button id="settingsSave" lk="dm_svas">Save As</button>
|
||||
<button id="settingsSave" lk="save">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="mod-tools" class="mdialog">
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ kiri.lang['en-us'] = {
|
|||
dm_rcnt: "recent files",
|
||||
dm_savs: "saved settings",
|
||||
dm_appp: "Application Preferences",
|
||||
dm_svas: "Save As",
|
||||
|
||||
// CAM Tool Dialog
|
||||
td_tyem: "end", // end mill
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ kiri.lang['zh'] = {
|
|||
dm_rcnt: "最近使用文件",
|
||||
dm_savs: "预存设置",
|
||||
dm_appp: "应用偏好设置",
|
||||
dm_svas: "保存为",
|
||||
|
||||
// CAM工具对话框
|
||||
td_tyem: "立", // 立铣刀
|
||||
|
|
|
|||
Loading…
Reference in a new issue