Skip to content

Commit

Permalink
Only update DLC we are viewing (#3211)
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed May 31, 2021
1 parent deb0862 commit 549d840
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -174,7 +174,7 @@ class DLCPaneModel(resultArea: TextArea) extends Logging {
}

def viewDLC(status: DLCStatus): Unit = {
updateDLCs()
updateDLC(status.dlcId)
val updatedStatus = dlcs.find(_.tempContractId == status.tempContractId)
ViewDLCDialog.showAndWait(parentWindow.value,
updatedStatus.getOrElse(status),
Expand Down

0 comments on commit 549d840

Please sign in to comment.