From d8d4147d1868dcc5e805f3d43cf7f509ac3de20a Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Sun, 20 Feb 2022 22:59:43 +0100 Subject: [PATCH] Fixed currently displayed diff entry being updated twice when changes are detected --- src/main/kotlin/app/viewmodels/TabViewModel.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/kotlin/app/viewmodels/TabViewModel.kt b/src/main/kotlin/app/viewmodels/TabViewModel.kt index c5eaa45..50d11bf 100644 --- a/src/main/kotlin/app/viewmodels/TabViewModel.kt +++ b/src/main/kotlin/app/viewmodels/TabViewModel.kt @@ -155,8 +155,6 @@ class TabViewModel @Inject constructor( if (!tabState.operationRunning) { // Only update if there isn't any process running println("Changes detected, loading status") checkUncommitedChanges() - - updateDiffEntry() } } }