Skip to content

Commit

Permalink
improve(forms): improve forms comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed May 1, 2024
1 parent 010281a commit ea039b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qtribu/gui/form_article.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def on_btn_submit(self) -> Union[bool, str, None]:
f"&in_art_date={self.dte_proposed_date.date().toString('dd/MM/yyyy')}"
f"&tx_art_content={self.txt_description.toPlainText()}"
f"&tx_misc_comment={self.txt_comment.toPlainText()} "
f"\n---\n\n{__title__} {__version__}"
"\n---\n\n" + self.tr("Prefilled with ") + f"{__title__} {__version__}"
f"&title=[Proposition] {self.lne_title.text()} - {__title__} {__version__}"
)
self.log(message=f"Opening issue form: {completed_url}", log_level=4)
Expand Down
4 changes: 2 additions & 2 deletions qtribu/gui/form_rdp_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, parent: Optional[QWidget] = None):
QIcon(QgsApplication.iconPath("mActionShowAllLayersGray.svg"))
)
self.btn_preview.clicked.connect(self.generate_preview)
self.txt_preview.setStyleSheet("background-color:transparent;")
self.txt_preview.setStyleSheet("background-color: #DCDCDC;")

self.txt_body.textChanged.connect(self.auto_preview)

Expand Down Expand Up @@ -272,7 +272,7 @@ def on_btn_submit(self) -> Union[bool, str, None]:
f"&in_news_icon={self.cbb_icon.currentText()}"
f"&tx_news_content={self.txt_body.toPlainText()}"
f"&tx_misc_comment={self.txt_comment.toPlainText()} "
f"\n---\n\n{__title__} {__version__}"
"\n---\n\n" + self.tr("Prefilled with ") + f"{__title__} {__version__}"
f"&title=[GeoRDP] {self.lne_title.text()} - {__title__} {__version__}"
)
self.log(message=f"Opening issue form: {completed_url}", log_level=4)
Expand Down

0 comments on commit ea039b0

Please sign in to comment.