Skip to content

Commit 0e67c44

Browse files
committed
Fix CopyableLabel hidden text feature.
1 parent 8ba7106 commit 0e67c44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/copyablelable.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
class BINARYNINJAUIAPI CopyableLabel: public QLabel
55
{
66
QColor m_desiredColor {};
7-
QString altText = "";
7+
QString m_hiddenText;
88

99
public:
10-
CopyableLabel(const QString& text, const QColor& color, bool show = true);
10+
CopyableLabel(const QString& text, const QColor& color);
11+
void setHiddenText(const QString& text);
1112
void enterEvent(QEnterEvent* event) override;
1213
void leaveEvent(QEvent* event) override;
1314
void mousePressEvent(QMouseEvent* event) override;

0 commit comments

Comments
 (0)