Skip to content

Commit

Permalink
Table Updating is More Responsive
Browse files Browse the repository at this point in the history
Updating which row is loading is more responsive, and no longer relies on the row being updated to be selected.
  • Loading branch information
AvocadoMoon committed Dec 4, 2024
1 parent 5d931ae commit 8b043df
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,9 @@ public void stopSelectedImageFromLoading(){

public void removeSpecificRowFromLoadingRows(int rowNumber){
int realRowNumber = findLoadingRow(rowNumber, rowNumber);
loadingRowsJobID.remove(rowNumber);
int selected = exportListTable.getSelectedRow();
if (selected == realRowNumber){
controlPanel.updateButtonsToMatchState(false);
exportListTable.repaint();
}
loadingRowsJobID.remove(realRowNumber);
controlPanel.updateButtonsToMatchState(false);
exportListTable.repaint();
}

@Override
Expand Down

0 comments on commit 8b043df

Please sign in to comment.