Previously only the internal panel was getting hidden, rather than the surrounding/containing QWidget. This created a bug that the Esc would need to be pressed more than once to exit the text tool or flameshot. Fixes #1108
Previously only the internal panel was getting hidden, rather than the surrounding/containing QWidget. This created a bug that the Esc would need to be pressed more than once to exit the text tool or flameshot. Fixes #1108