diff options
Diffstat (limited to 'src/gui/customserverdialog.h')
-rw-r--r-- | src/gui/customserverdialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/customserverdialog.h b/src/gui/customserverdialog.h index af19d9c7..a9f02abc 100644 --- a/src/gui/customserverdialog.h +++ b/src/gui/customserverdialog.h @@ -66,7 +66,7 @@ class CustomServerDialog : public Window, public gcn::KeyListener { public: - CustomServerDialog(ServerDialog *parent); + CustomServerDialog(ServerDialog *parent, int index = -1); ~CustomServerDialog(); @@ -91,6 +91,8 @@ class CustomServerDialog : public Window, TypeListModel *mTypeListModel; ServerDialog *mServerDialog; + // The index of the entry to modify, -1 when only adding a new entry. + int mIndex; }; #endif // CUSTOMSERVERDIALOG_H |