1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

Avoiding closing of main frame when last tab is closed

This commit is contained in:
Brian Fiete 2020-05-17 07:05:07 -07:00
parent fb96595ac3
commit 81f8a95cd8

View file

@ -263,7 +263,8 @@ namespace Beefy.widgets
{
// Automatically close when last docked widget is removed
// Should only happen on tool windows
mWidgetWindow.Close();
if (!mWidgetWindow.mWindowFlags.HasFlag(.QuitOnClose))
mWidgetWindow.Close();
}
}