mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Reset offset in DataResult on new file selection
This commit is contained in:
parent
63846a6c74
commit
e96a1da1cf
@ -297,6 +297,8 @@ public class DataContentViewerHex extends javax.swing.JPanel implements DataCont
|
|||||||
@Override
|
@Override
|
||||||
public void resetComponent() {
|
public void resetComponent() {
|
||||||
// clear / reset the fields
|
// clear / reset the fields
|
||||||
|
currentOffset = 0;
|
||||||
|
currentPage = 1;
|
||||||
this.dataSource = null;
|
this.dataSource = null;
|
||||||
currentPageLabel.setText("");
|
currentPageLabel.setText("");
|
||||||
totalPageLabel.setText("");
|
totalPageLabel.setText("");
|
||||||
|
@ -291,6 +291,8 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
@Override
|
@Override
|
||||||
public void resetComponent() {
|
public void resetComponent() {
|
||||||
// clear / reset the fields
|
// clear / reset the fields
|
||||||
|
currentOffset = 0;
|
||||||
|
currentPage = 1;
|
||||||
this.dataSource = null;
|
this.dataSource = null;
|
||||||
currentPageLabel.setText("");
|
currentPageLabel.setText("");
|
||||||
totalPageLabel.setText("");
|
totalPageLabel.setText("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user