//
// Written by David Luff, started 2005.
//
-// Copyright (C) 2005 - David C Luff - david.luff@nottingham.ac.uk
+// Copyright (C) 2005 - David C Luff - daveluff AT ntlworld.com
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "kln89_page_int.hxx"
+#include <Navaids/fix.hxx>
+#include <Navaids/navrecord.hxx>
+
+using std::string;
KLN89IntPage::KLN89IntPage(KLN89* parent)
: KLN89Page(parent) {
void KLN89IntPage::EntPressed() {
if(_entInvert) {
_entInvert = false;
- _last_int_id = _int_id;
- _int_id = _save_int_id;
+ _entInvert = false;
+ if(_kln89->_dtoReview) {
+ _kln89->DtoInitiate(_int_id);
+ } else {
+ _last_int_id = _int_id;
+ _int_id = _save_int_id;
+ }
}
}