diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-13 15:28:25 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-13 15:28:25 +0000 |
commit | 59cfa10fc0492e912713a282ba05b48afcbe2854 (patch) | |
tree | 023a4dbffc4a1858631582ecf8870feb330f0aaf /src/gui/windowcontainer.cpp | |
parent | 682d6a9e44e583c088ed5970d69ef6bd9db7fd23 (diff) | |
download | mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.tar.gz mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.tar.bz2 mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.tar.xz mana-client-59cfa10fc0492e912713a282ba05b48afcbe2854.zip |
Got rid of last Allegro dialog: converted yes_no dialog to ConfirmDialog class
Diffstat (limited to 'src/gui/windowcontainer.cpp')
-rw-r--r-- | src/gui/windowcontainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windowcontainer.cpp b/src/gui/windowcontainer.cpp index 3367b5f4..c7e466fe 100644 --- a/src/gui/windowcontainer.cpp +++ b/src/gui/windowcontainer.cpp @@ -161,5 +161,8 @@ gcn::Widget *WindowContainer::getModalWindow() void WindowContainer::scheduleDelete(gcn::Widget *widget) { + if (widget == (gcn::Widget*)modalWindow) { + setModalWindow(NULL); + } deathList.push_back(widget); } |