summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-16 19:04:58 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-16 19:04:58 +0000
commit35afca876ece89be5b282c73a200d0d3c5d27fe0 (patch)
tree90033c7dfd025ab0d90304bfc5440c9aaa3bbcc5 /src/gui
parent201a9a7d4fdf1ff7cb8ffc75d606bfaf6d38a0f6 (diff)
downloadmana-35afca876ece89be5b282c73a200d0d3c5d27fe0.tar.gz
mana-35afca876ece89be5b282c73a200d0d3c5d27fe0.tar.bz2
mana-35afca876ece89be5b282c73a200d0d3c5d27fe0.tar.xz
mana-35afca876ece89be5b282c73a200d0d3c5d27fe0.zip
Fixed connection dialog visibility and fixed issues with walking one tile too
many and changing direction towards an obstacle.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chargedialog.cpp1
-rw-r--r--src/gui/connection.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/chargedialog.cpp b/src/gui/chargedialog.cpp
index 349ca223..862378ae 100644
--- a/src/gui/chargedialog.cpp
+++ b/src/gui/chargedialog.cpp
@@ -37,6 +37,7 @@ ChargeDialog::ChargeDialog():
mProgBar = new ProgressBar(0.0f, 140, 25, 128, 128, 128);
mProgBar->setPosition(20, 40);
add(mProgBar);
+ setVisible(true);
}
// update the dialog
diff --git a/src/gui/connection.cpp b/src/gui/connection.cpp
index 8da36f20..bacc319e 100644
--- a/src/gui/connection.cpp
+++ b/src/gui/connection.cpp
@@ -57,6 +57,7 @@ ConnectionDialog::ConnectionDialog():
add(mProgressBar);
setLocationRelativeTo(getParent());
+ setVisible(true);
}
void ConnectionDialog::logic()