aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/column_editor_frame.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-11-10 22:19:27 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2015-11-11 08:16:25 +0000
commita4981a279a616c7dfc9a0887ba8511851cc8ec22 (patch)
treeee00c11afaef663e62925cdf2257a7548adb26e2 /ui/qt/column_editor_frame.h
parent5f4c9b2bb2903e8ce720e072525b1f43e846a513 (diff)
Qt: fixes to 'Edit Column' dialog
- set field name and occurrence when editing a custom column - convert occurrence number to a QString - disable OK button when syntax is incorrect or empty for a custom column - update syntax state when opening the edit dialog or when switching between custom and normal column Bug: 11433 Change-Id: Ia8424474dd250c78a0b503e0e9d89c322f4f86a9 Reviewed-on: https://code.wireshark.org/review/11705 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/qt/column_editor_frame.h')
-rw-r--r--ui/qt/column_editor_frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/column_editor_frame.h b/ui/qt/column_editor_frame.h
index dbaad4e50b..b35200dcad 100644
--- a/ui/qt/column_editor_frame.h
+++ b/ui/qt/column_editor_frame.h
@@ -49,10 +49,10 @@ private slots:
private:
Ui::ColumnEditorFrame *ui;
-
int cur_column_;
QString saved_field_;
QString saved_occurrence_;
+ void setFields(int index);
};
#endif // COLUMN_EDITOR_FRAME_H