From a4981a279a616c7dfc9a0887ba8511851cc8ec22 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 10 Nov 2015 22:19:27 +0100 Subject: 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 Reviewed-by: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- ui/qt/column_editor_frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/qt/column_editor_frame.h') 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 -- cgit v1.2.3