diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/textfield.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index bf5485a7b..04527e1ae 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -566,7 +566,10 @@ void TextField::mousePressed(gcn::MouseEvent &mouseEvent) else { if (!mPopupMenu) + { mPopupMenu = new PopupMenu(); + mPopupMenu->postInit(); + } int x = 0; int y = 0; SDL_GetMouseState(&x, &y); |