FireFox, do not close FireFox with last tab

From Andreida
  • enter as url:
about:config
  • search for:
browser.tabs.closeWindowWithLastTab
  • double click it to set it to false