fix: add missing ellipsis to menu items that open dialogs (#6858)

Added missing ellipsis (…) to menu items that open a dialog requiring
user input,
following standard HIG conventions.

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Tested-by: voiceofgrog
This commit is contained in:
VoiceOfGrog
2026-08-02 11:19:08 +00:00
committed by GitHub
co-authored by Rasmus Karlsson
parent 1ab17263a0
commit f6be3003ed
2 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -36,6 +36,8 @@
#include <algorithm>
using namespace Qt::StringLiterals;
namespace chatterino {
namespace {
// Translates the given rectangle by an amount in the direction to appear like the tab is selected.
@@ -116,7 +118,7 @@ NotebookTab::NotebookTab(Notebook *notebook)
this->setMouseTracking(true);
this->menu_.addAction("Rename Tab", [this]() {
this->menu_.addAction(u"Rename Tab"_s, this, [this]() {
this->showRenameDialog();
});
+4 -2
View File
@@ -45,6 +45,8 @@
#include <cmath>
using namespace Qt::StringLiterals;
namespace {
using namespace chatterino;
@@ -471,12 +473,12 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
"Popup overlay",
h->getDisplaySequence(HotkeyCategory::Split, "popupOverlay"),
this->split_, &Split::showOverlayWindow);
menu->addAction("Search",
menu->addAction(u"Search…"_s,
h->getDisplaySequence(HotkeyCategory::Split, "showSearch"),
this->split_, [this] {
this->split_->showSearch(true);
});
menu->addAction("Set filters",
menu->addAction(u"Set filters"_s,
h->getDisplaySequence(HotkeyCategory::Split, "pickFilters"),
this->split_, &Split::setFiltersDialog);
menu->addSeparator();