Permalink
Browse files

apply the watchlist preferences also to rollback

  • Loading branch information...
benapetr committed Nov 24, 2017
1 parent 66f2b74 commit 3f3fd98dd4cbfa226ed9c0dad4181744bf550882
Showing with 2 additions and 1 deletion.
  1. +2 −1 huggle/revertquery.cpp
View
@@ -739,7 +739,8 @@ void RevertQuery::Rollback()
token = QUrl::toPercentEncoding(token);
}
this->qRevert->Parameters = "title=" + QUrl::toPercentEncoding(edit->Page->PageName) + "&token="
+ token + tag + "&watchlist=nochange&user=" + QUrl::toPercentEncoding(edit->User->Username)
+ token + tag + "&watchlist=" + UserConfiguration::WatchListOptionToString(hcfg->UserConfig->Watchlist)
+ "&user=" + QUrl::toPercentEncoding(edit->User->Username)
+ "&summary=" + QUrl::toPercentEncoding(this->Summary);
this->qRevert->Target = edit->Page->PageName;
this->qRevert->UsingPOST = true;

0 comments on commit 3f3fd98

Please sign in to comment.