Skip to content

exit application when last tab is closed

Abraham Söyler requested to merge brahms/angelfish:master into master

implements/fixes #99 (closed) in tabsmodel.cpp.

when TabsModel::closeTab is called and checks for tabcount <= 1 instead of cleaning things up it now closes the application.

I think the way it now behaves is fine, but I dislike the sudden quit() call there, although I am not sure how to do it better without throwing too much code into it.

Edited by Abraham Söyler

Merge request reports

Loading