mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 08:37:26 +00:00
Remove unnecessary newline from VisualNavbar tooltip
This commit is contained in:
parent
8566e9e2b3
commit
b10d132237
@ -259,8 +259,14 @@ QString VisualNavbar::toolTipForAddress(RVA address)
|
||||
auto sections = sectionsForAddress(address);
|
||||
if (sections.count()) {
|
||||
ret += "\nSections: \n";
|
||||
bool first = true;
|
||||
for (auto section : sections) {
|
||||
ret += " " + section + "\n";
|
||||
if (!first) {
|
||||
ret += "\n";
|
||||
} else {
|
||||
first = false;
|
||||
}
|
||||
ret += " " + section;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user