summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2019-04-07 21:55:27 -0400
committerPeter LaFosse <peter@vector35.com>2019-04-07 21:55:27 -0400
commit887cb7e10df2b3be25dc92c5df6dd15d17ba2444 (patch)
tree549ce1d528d29aed18fc1b312880340104f046b4
parenta1f23181e284c102d6def1b4a13c29b989c5c097 (diff)
Update goto address preview on selection change
-rw-r--r--ui/addressdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/addressdialog.h b/ui/addressdialog.h
index aa242656..5f23a452 100644
--- a/ui/addressdialog.h
+++ b/ui/addressdialog.h
@@ -50,6 +50,7 @@ class BINARYNINJAUIAPI AddressDialogWithPreview: public QDialog
QColor m_defaultColor;
QFont m_defaultFont;
QString m_prompt;
+ bool m_initialTextSelection;
void commitHistory();
void customEvent(QEvent* event);
@@ -58,7 +59,8 @@ private Q_SLOTS:
void updateTimerEvent();
void accepted();
void updateRelativeState(int state);
- void updatePreview(QString text);
+ void updatePreview();
+ void updatePreview(QString data);
public:
AddressDialogWithPreview(QWidget* parent, BinaryViewRef view, uint64_t here,