Go to page should not be enabled if there is only one page.

This commit is contained in:
esaunders 2019-05-13 16:49:08 -04:00
parent 5e66be8cde
commit de23b6b637

View File

@ -909,7 +909,7 @@ public class DataResultViewerTable extends AbstractDataResultViewer {
pageNextButton.setEnabled(currentPage != totalPages);
pagePrevButton.setEnabled(currentPage != 1);
gotoPageTextField.setEnabled(true);
gotoPageTextField.setEnabled(currentPage != totalPages);
gotoPageTextField.setText("");
}
}