provide default editor popup menu - fix #290

This commit is contained in:
Vadim Lopatin 2017-09-26 17:28:46 +03:00
parent 4f2cd3391f
commit 75a9c780a7
4 changed files with 11 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"stringImportPaths": ["views"],
"dependencies": {
"dlangui": "==0.9.148",
"dlangui": "==0.9.149",
"dsymbol": "~>0.2.9",
"dcd": "~>0.9.1"
},

View File

@ -127,6 +127,11 @@ class NewFileDlg : Dialog {
_edModuleName.enterKey.connect(&onEnterKey);
_edLocation.enterKey.connect(&onEnterKey);
_edFileName.setDefaultPopupMenu();
_edFilePath.setDefaultPopupMenu();
_edModuleName.setDefaultPopupMenu();
_edLocation.setDefaultPopupMenu();
// fill templates
dstring[] names;
foreach(t; _templates)

View File

@ -202,6 +202,10 @@ class NewProjectDlg : Dialog {
return true;
};
_edLocation.setDefaultPopupMenu();
_edWorkspaceName.setDefaultPopupMenu();
_edProjectName.setDefaultPopupMenu();
addChild(content);
addChild(createButtonsPanel([_newWorkspace ? ACTION_FILE_NEW_WORKSPACE : ACTION_FILE_NEW_PROJECT, ACTION_CANCEL], 0, 0));
}

View File

@ -1 +1 @@
v0.7.98
v0.7.99