Accidentally didn't test enough
loading something like the updates plugin (Which appears in the info tab) would make it load multiple times This commit fixes that
This commit is contained in:
parent
aea6f82026
commit
27fb7984f8
1 changed files with 2 additions and 2 deletions
|
|
@ -340,7 +340,7 @@ void OpenRGBDialog2::closeEvent(QCloseEvent *event)
|
|||
{
|
||||
ResourceManager::get()->WaitForDeviceDetection();
|
||||
|
||||
if (OpenRGBDialog2::MinimizeToTray && !this->isHidden())
|
||||
if (OpenRGBDialog2::MinimizeToTray)
|
||||
{
|
||||
hide();
|
||||
event->ignore();
|
||||
|
|
@ -459,7 +459,7 @@ void OpenRGBDialog2::AddPluginTab(PluginManager* plugin_manager, int plugin_inde
|
|||
/*-----------------------------------------------------*\
|
||||
| InformationTab - Place plugin in the Information tab |
|
||||
\*-----------------------------------------------------*/
|
||||
if(Location == "InformationTab")
|
||||
if(Location == "InformationTab" && !TopBarAlreadyLoaded)
|
||||
{
|
||||
QWidget* NewPluginTab = new QWidget;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue