mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 00:05:41 -05:00
Cleanup
* Use GetSettingsWindow() instead of window() to avoid connecting to the wrong widget * Fix typos
This commit is contained in:
@@ -49,7 +49,7 @@ void MacroSelection::SetCurrentMacro(const MacroRef ¯o)
|
||||
|
||||
void MacroSelection::HideSelectedMacro()
|
||||
{
|
||||
auto ssWindow = static_cast<AdvSceneSwitcher *>(window());
|
||||
auto ssWindow = static_cast<AdvSceneSwitcher *>(GetSettingsWindow());
|
||||
if (!ssWindow) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user