[education/rkward] rkward/windows: Render choose another file actions as buttons
Thomas Friedrichsmeier
null at kde.org
Thu Apr 21 16:35:06 BST 2022
Git commit 40b2d0489cfee36acbfee0e2619b8720b6ae9d4f by Thomas Friedrichsmeier.
Committed on 21/04/2022 at 15:34.
Pushed by tfry into branch 'master'.
Render choose another file actions as buttons
M +1 -1 rkward/windows/rkhtmlwindow.cpp
https://invent.kde.org/education/rkward/commit/40b2d0489cfee36acbfee0e2619b8720b6ae9d4f
diff --git a/rkward/windows/rkhtmlwindow.cpp b/rkward/windows/rkhtmlwindow.cpp
index 815297f0..f4c64e23 100644
--- a/rkward/windows/rkhtmlwindow.cpp
+++ b/rkward/windows/rkhtmlwindow.cpp
@@ -1119,8 +1119,8 @@ bool RKHelpRenderer::renderRKHelp (const QUrl &url, RKHTMLWindow* container) {
for (int i = 0; i < list.size(); ++i) {
writeHTML(QString("<li><a href=\"rkward://open/%1/%2\" title=\"%2\">%3</a></li>\n").arg(category, list[i].url(), RKCommonFunctions::escape(list[i].url(QUrl::PreferLocalFile))));
}
- writeHTML(QString("<li><<a href=\"rkward://open/%1/\">%3</a>></li>\n").arg(category, i18n("Choose another file")));
writeHTML("</ul>\n");
+ writeHTML(QString("<form action=\"rkward://open/%1/\"><button type=\"submit\">%3</button></form>\n").arg(category, i18n("Choose another file")));
if (container && !container_refresh_connected) {
container_refresh_connected = true;
auto connection = new QMetaObject::Connection;
More information about the rkward-tracker
mailing list