Signal Handling and Fix for Closing
This commit is contained in:
parent
ac13b614d6
commit
138d991cf2
2 changed files with 22 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ void OpenRGBDialog::closeEvent(QCloseEvent *event)
|
|||
{
|
||||
ResourceManager::get()->WaitForDeviceDetection();
|
||||
|
||||
if (IsMinimizeOnClose() && !this->isHidden())
|
||||
if (IsMinimizeOnClose() && !this->isHidden() && event->spontaneous())
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
MacUtils::ToggleApplicationDocklessState(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue