Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Hess <me@harkyman.com>2006-12-26 15:51:55 +0300
committerRoland Hess <me@harkyman.com>2006-12-26 15:51:55 +0300
commit445746696b4d9bd9ae19445396f46475f829d750 (patch)
treecafdd5b8cdb1f8ac6b5e55c2ad27def335ba6d43 /source/blender/src/editscreen.c
parent87286dad823d1d1b3538428ee600484f215576f8 (diff)
Little commit to curb a tiny bit of the complaining about how easy
it is to accidentally quit Blender and "lose" your work. Even though there is quit.blend, Ton said he had no problem with at least removing plain of 'q' for quit. Quit Blender hotkey is now Ctrl-Q.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index e7683580dc4..ce6624fbdba 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -1363,7 +1363,7 @@ void screenmain(void)
else if (event==QKEY) {
if((G.obedit && G.obedit->type==OB_FONT && g_activearea->spacetype==SPACE_VIEW3D)||g_activearea->spacetype==SPACE_TEXT||g_activearea->spacetype==SPACE_SCRIPT);
else {
- if(val) {
+ if(val && (G.qual & LR_CTRLKEY)) {
if(okee("Quit Blender")) exit_usiblender();
}
towin= 0;