added win32 style ctrl keystrokes for cut/copy/paste/undo/redo

This commit is contained in:
2003-01-29 13:49:25 +00:00
parent 744913e654
commit a8f7197054
2 changed files with 21 additions and 9 deletions

View File

@@ -829,7 +829,6 @@ int blenderqread(unsigned short event, short val)
break;
case UKEY:
if(textediting==0) {
if(G.qual & LR_CTRLKEY) {
if(okee("SAVE USER DEFAULTS")) {
@@ -862,13 +861,14 @@ int blenderqread(unsigned short event, short val)
break;
case XKEY:
if(G.qual & LR_CTRLKEY) {
if(okee("ERASE ALL")) {
if( BIF_read_homefile()==0) error("No file ~/.B.blend");
if(textspace==0) {
if(G.qual & LR_CTRLKEY) {
if(okee("ERASE ALL")) {
if( BIF_read_homefile()==0) error("No file ~/.B.blend");
}
return 0;
}
return 0;
}
break;
}