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:
parent
fb96595ac3
commit
81f8a95cd8
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue