ppbr export dialog mouse_capture

This commit is contained in:
2019-09-12 21:55:29 +02:00
parent 61bcd86d2c
commit c3a34d28c1
5 changed files with 23 additions and 0 deletions

View File

@@ -141,3 +141,9 @@ void NodeTextInput::set_text(const std::string& s)
m_string = s;
}
void NodeTextInput::destroy()
{
if (root()->current_key_capture.get() == this)
App::I->hideKeyboard();
NodeBorder::destroy();
}