Commit b30ce64d authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Only show hints for the number of keys available

parent 6f02d6db
...@@ -1371,7 +1371,7 @@ void TerminalDisplay::paintFilters(QPainter& painter) ...@@ -1371,7 +1371,7 @@ void TerminalDisplay::paintFilters(QPainter& painter)
region |= r; region |= r;
} }
if (_showUrlHint) { if (_showUrlHint && urlNumber < 10) {
// Position at the beginning of the URL // Position at the beginning of the URL
QRect hintRect(region.rects().first()); QRect hintRect(region.rects().first());
hintRect.setWidth(r.height()); hintRect.setWidth(r.height());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment