diff --git a/weboob/applications/qwebcontentedit/main_window.py b/weboob/applications/qwebcontentedit/main_window.py index 1edd67b7..01150b33 100644 --- a/weboob/applications/qwebcontentedit/main_window.py +++ b/weboob/applications/qwebcontentedit/main_window.py @@ -61,11 +61,12 @@ self._currentTabChanged) if self.backend is None: return new_content = unicode(self.ui.contentEdit.toPlainText()) + minor = self.ui.minorBox.isChecked() if new_content != self.content.content: self.content.content = new_content message = unicode(self.ui.descriptionEdit.text()) self.process = QtDo(self.weboob, self._savePage_cb, self._savePage_eb) - self.process.do('push_content', self.content, message, backends=self.backend) + self.process.do('push_content', self.content, message, minor=minor, backends=self.backend) def _savePage_cb(self, backend, data): if not backend: @@ -78,4 +79,4 @@ self._currentTabChanged) def showPreview(self): self.ui.previewEdit.setHtml(self.backend.get_content_preview(self.content)) - return \ No newline at end of file + return diff --git a/weboob/applications/qwebcontentedit/ui/main_window.ui b/weboob/applications/qwebcontentedit/ui/main_window.ui index be6b983e..ca447542 100644 --- a/weboob/applications/qwebcontentedit/ui/main_window.ui +++ b/weboob/applications/qwebcontentedit/ui/main_window.ui @@ -7,7 +7,7 @@ 0 0 469 - 521 + 520 @@ -69,6 +69,13 @@ + + + + Minor edit + + +