Move registering WebUI magnet handler behind toolbar option

Alert the user if the operation fails due to lack of browser support
This commit is contained in:
Thomas Piccirello
2019-07-14 17:40:42 -07:00
parent b9da9ebfdf
commit 324d20d42c
2 changed files with 8 additions and 3 deletions

View File

@@ -77,6 +77,7 @@
<a class="returnFalse">QBT_TR(Tools)QBT_TR[CONTEXT=MainWindow]</a>
<ul>
<li><a id="preferencesLink"><img class="MyMenuIcon" src="images/qbt-theme/configure.svg" alt="QBT_TR(Options...)QBT_TR[CONTEXT=MainWindow]" width="16" height="16"/>QBT_TR(Options...)QBT_TR[CONTEXT=MainWindow]</a></li>
<li><a id="registerMagnetHandlerLink"><img class="MyMenuIcon" src="images/qbt-theme/kt-magnet.svg" alt="QBT_TR(Register to handle magnet links...)QBT_TR[CONTEXT=HttpServer]" width="16" height="16"/>QBT_TR(Register to handle magnet links...)QBT_TR[CONTEXT=HttpServer]</a></li>
</ul>
</li>
<li>