From f03034d7c982324906fd20273c52a2fb04186fd7 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Wed, 25 Nov 2009 12:40:27 +0000 Subject: [PATCH] Fixed ticket #5032. The PrefWindow reverts the settings if, on exit, the user chooses not to save. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34242 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/PrefWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/terminal/PrefWindow.cpp b/src/apps/terminal/PrefWindow.cpp index e8a33d7af0..c58004b296 100644 --- a/src/apps/terminal/PrefWindow.cpp +++ b/src/apps/terminal/PrefWindow.cpp @@ -93,6 +93,8 @@ PrefWindow::QuitRequested() if (index == 2) _Save(); + else + _Revert(); return true; }