[haiku-commits] r34242 - haiku/trunk/src/apps/terminal

  • From: stefano.ceccherini@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 25 Nov 2009 13:40:27 +0100 (CET)

Author: jackburton
Date: 2009-11-25 13:40:27 +0100 (Wed, 25 Nov 2009)
New Revision: 34242
Changeset: http://dev.haiku-os.org/changeset/34242/haiku
Ticket: http://dev.haiku-os.org/ticket/5032

Modified:
   haiku/trunk/src/apps/terminal/PrefWindow.cpp
Log:
Fixed ticket #5032. The PrefWindow reverts the settings if, on exit,
the user chooses not to save.


Modified: haiku/trunk/src/apps/terminal/PrefWindow.cpp
===================================================================
--- haiku/trunk/src/apps/terminal/PrefWindow.cpp        2009-11-25 12:02:20 UTC 
(rev 34241)
+++ haiku/trunk/src/apps/terminal/PrefWindow.cpp        2009-11-25 12:40:27 UTC 
(rev 34242)
@@ -93,6 +93,8 @@
 
        if (index == 2)
                _Save();
+       else
+               _Revert();
 
        return true;
 }


Other related posts:

  • » [haiku-commits] r34242 - haiku/trunk/src/apps/terminal - stefano . ceccherini