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:
authorMartin Poirier <theeth@yahoo.com>2004-09-05 19:43:45 +0400
committerMartin Poirier <theeth@yahoo.com>2004-09-05 19:43:45 +0400
commitfbfa96f647e5b5aeabbab5503a3038e3624ba628 (patch)
tree2532eec54d5f0ba66931eb93cb5f68513876339c /source/blender/src/editscreen.c
parent54a5870f3e0c21ab5525360f975ae1f44a42c03b (diff)
Quit confirm dialog
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index b9aed992686..1a0dc270ac4 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -1075,7 +1075,12 @@ 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 && okee("Quit Blender")) exit_usiblender();
+ if(val) {
+ int mode = 0;
+ mode= pupmenu("Quit Blender?%t|Cancel%x1|Confirm%x2");
+ if (mode == 2)
+ exit_usiblender();
+ }
towin= 0;
}
}