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