docs: private boolean confirmMaximisation() {
          if (!viewOptions.getWarnOnTabDoubleClick()) {
              return true;
          }
  
          if (View.getSingleton().showConfirmDialog(DOUBLE_CLICK_WARN_MESSAGE) != JOptionPane.OK_OPTION) {
              return false;
          }
  
          viewOptions.setWarnOnTabDoubleClick(false);
          try {
              viewOptions.getConfig().save();
          } catch (ConfigurationException e) {
              LOGGER.error(e.getMessage(), e);
          }
          return true;
      }