diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatertools.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatertools.cpp b/linden/indra/newview/llfloatertools.cpp index 4f8ed08..22581c6 100644 --- a/linden/indra/newview/llfloatertools.cpp +++ b/linden/indra/newview/llfloatertools.cpp | |||
@@ -76,7 +76,6 @@ | |||
76 | #include "llviewerparcelmgr.h" | 76 | #include "llviewerparcelmgr.h" |
77 | #include "llviewerwindow.h" | 77 | #include "llviewerwindow.h" |
78 | #include "llviewercontrol.h" | 78 | #include "llviewercontrol.h" |
79 | #include "viewer.h" | ||
80 | 79 | ||
81 | #include "llvieweruictrlfactory.h" | 80 | #include "llvieweruictrlfactory.h" |
82 | 81 | ||
@@ -752,7 +751,7 @@ void LLFloaterTools::updatePopup(LLCoordGL center, MASK mask) | |||
752 | BOOL LLFloaterTools::canClose() | 751 | BOOL LLFloaterTools::canClose() |
753 | { | 752 | { |
754 | // don't close when quitting, so camera will stay put | 753 | // don't close when quitting, so camera will stay put |
755 | return !gQuit; | 754 | return !LLApp::isExiting(); |
756 | } | 755 | } |
757 | 756 | ||
758 | // virtual | 757 | // virtual |