Exit full screen button doesn't work

Moved from GitHub ratel/40

Posted by paulftw:

To reproduce:

  1. Run a query
  2. Click full screen
  3. In the upper right corner click full screen button

Expected behavior: full screen gets closed
Current behavior: delete frame btn disappears, full screen gets replaced with shrink. Clicking shrink finally closes the full screen mode.