]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QIndexDialog.C
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QIndexDialog.C
index 17d573184740ec72413796f8622363b5ae9fd9a7..7dced6a366887dc04ada56f43f7f91da631966a1 100644 (file)
@@ -1,22 +1,29 @@
 /**
  * \file QIndexDialog.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "gettext.h"
 
 #include "QIndex.h"
 #include "QIndexDialog.h"
+
 #include <qpushbutton.h>
 #include <qlineedit.h>
 #include <qwhatsthis.h>
 
+
 QIndexDialog::QIndexDialog(QIndex * form)
        : QIndexDialogBase(0, 0, false, 0),
        form_(form)
@@ -43,6 +50,13 @@ QIndexDialog::QIndexDialog(QIndex * form)
 }
 
 
+void QIndexDialog::show()
+{
+       QIndexDialogBase::show();
+       keywordED->setFocus();
+}
+
+
 void QIndexDialog::change_adaptor()
 {
        form_->changed();