diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-09 13:26:59 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-09 15:02:54 -0600 |
commit | 4463387e133b0cd238ebb1ff89b8362fc2adbe75 (patch) | |
tree | 37675fed8f6515bc155f1dd7b41fff627440801d /src/gui/npclistdialog.cpp | |
parent | 40883938ceb60b0999f9b693dadbe2239e83f139 (diff) | |
download | mana-4463387e133b0cd238ebb1ff89b8362fc2adbe75.tar.gz mana-4463387e133b0cd238ebb1ff89b8362fc2adbe75.tar.bz2 mana-4463387e133b0cd238ebb1ff89b8362fc2adbe75.tar.xz mana-4463387e133b0cd238ebb1ff89b8362fc2adbe75.zip |
Send the correct packet for the NPC close button
Both packets do the same, but we should be explicit anyways. Also,
seperate out NPC client packets.
Diffstat (limited to 'src/gui/npclistdialog.cpp')
-rw-r--r-- | src/gui/npclistdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp index 73b00239..c639411d 100644 --- a/src/gui/npclistdialog.cpp +++ b/src/gui/npclistdialog.cpp @@ -58,8 +58,8 @@ NpcListDialog::NpcListDialog(Network *network): scrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); place(0, 0, scrollArea, 5).setPadding(3); - place(3, 1, okButton); - place(4, 1, cancelButton); + place(3, 1, cancelButton); + place(4, 1, okButton); Layout &layout = getLayout(); layout.setRowHeight(0, Layout::AUTO_SET); |