mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Formspec: Fix malfunctioning 'Proceed' button on sizeless formspecs
This commit is contained in:
parent
9f7501d20a
commit
fcddac6c07
3 changed files with 25 additions and 31 deletions
|
@ -68,8 +68,6 @@ struct TextDest
|
|||
{
|
||||
virtual ~TextDest() = default;
|
||||
|
||||
// This is deprecated I guess? -celeron55
|
||||
virtual void gotText(const std::wstring &text) {}
|
||||
virtual void gotText(const StringMap &fields) = 0;
|
||||
|
||||
std::string m_formname;
|
||||
|
@ -493,6 +491,7 @@ private:
|
|||
bool parseMiddleRect(const std::string &value, core::rect<s32> *parsed_rect);
|
||||
|
||||
void tryClose();
|
||||
void trySubmitClose();
|
||||
|
||||
void showTooltip(const std::wstring &text, const irr::video::SColor &color,
|
||||
const irr::video::SColor &bgcolor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue