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
|
||||
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("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user