diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2004-11-08 17:56:00 +0000 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2004-11-08 17:56:00 +0000 |
commit | 4ef45e532c786dc02b2c5f2141fb713264143c8c (patch) | |
tree | 483d3464c190bfdc92261d60fdbc239beb4ae445 | |
parent | dd205b01f0eb3d82c0fd7cdbbae41a8441d4fe5e (diff) |
fix tab-stuff
fix tab-stuff
-rw-r--r-- | src/PSEditModel.cxx | 5 | ||||
-rw-r--r-- | src/PSEditWidget.cxx | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/PSEditModel.cxx b/src/PSEditModel.cxx index 7a25a89..f898c50 100644 --- a/src/PSEditModel.cxx +++ b/src/PSEditModel.cxx @@ -1,5 +1,5 @@ // -// "$Id: PSEditModel.cxx,v 1.10 2004/11/08 18:10:34 hofmann Exp $" +// "$Id: PSEditModel.cxx,v 1.11 2004/11/08 18:56:00 hofmann Exp $" // // PSEditWidget routines. // @@ -120,6 +120,9 @@ int PSEditModel::next_text(int p) { if (cur_text) { cur_text = cur_text->get_next(); + } + + if (cur_text) { return 0; } else if (text[p]) { cur_text = text[p]; diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx index 1e6db7e..95ddbde 100644 --- a/src/PSEditWidget.cxx +++ b/src/PSEditWidget.cxx @@ -1,5 +1,5 @@ // -// "$Id: PSEditWidget.cxx,v 1.25 2004/11/08 18:10:34 hofmann Exp $" +// "$Id: PSEditWidget.cxx,v 1.26 2004/11/08 18:56:00 hofmann Exp $" // // PSEditWidget routines. // @@ -136,7 +136,7 @@ int PSEditWidget::next_text() { t_old = model->get_cur_text(); ret = model->next_text(page); - mod++; + t_new = model->get_cur_text(); if (t_new) { |