Skip to content

Commit

Permalink
Fix excessive personal channel autocommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ichorid committed Mar 6, 2020
1 parent 1347253 commit 608be60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def on_model_info_changed(self, changed_entries):
if structure_changed:
self.window().add_to_channel_dialog.clear_channels_tree()

if self.autocommit_enabled:
if self.autocommit_enabled and dirty:
self.commit_timer.stop()
self.commit_timer.start(CHANNEL_COMMIT_DELAY)

Expand Down

0 comments on commit 608be60

Please sign in to comment.