diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py
index 621224e6f..67d56219a 100755
--- a/ankiqt/ui/main.py
+++ b/ankiqt/ui/main.py
@@ -2234,6 +2234,18 @@ and remote side. What do you want to do?""" % deckName),
def selectSyncDeck(self, decks, create=True):
name = ui.sync.DeckChooser(self, decks, create).getName()
+ if self.syncName != name:
+ diag = ui.utils.askUserDialog(_("""\
+Really overwrite the online version?
+There is no way to undo this.
+
+If you want to download an online deck to
+your computer, use File>Download>Personal Deck
+instead."""),
+ ["Overwrite", "Cancel"])
+ diag.setDefault(1)
+ if diag.run() == "Cancel":
+ name = None
self.syncName = name
if name:
# name chosen