diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-11-23 19:01:08 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-10 20:32:02 +0100 |
commit | 8cf8f82d0b933dab43372fb0afdda58687ce6af6 (patch) | |
tree | 740af7cb3f148b60839d1304791bdb0046161a53 /src/gui/customserverdialog.h | |
parent | 98be39a094cc20f513da1847c553513682e4eeae (diff) | |
download | mana-8cf8f82d0b933dab43372fb0afdda58687ce6af6.tar.gz mana-8cf8f82d0b933dab43372fb0afdda58687ce6af6.tar.bz2 mana-8cf8f82d0b933dab43372fb0afdda58687ce6af6.tar.xz mana-8cf8f82d0b933dab43372fb0afdda58687ce6af6.zip |
Added a modify button to the server dialog.
This was righteously requested by Ablu as missing
when dealing with one's own entries.
Reviewed-by: Ablu
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 |