diff options
| author | JosJuice <josjuice@gmail.com> | 2017-05-02 15:34:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-02 15:34:50 +0200 |
| commit | 252bb4471d41027aa5a06984a433f861a2e0e5e6 (patch) | |
| tree | c93c771533bb2ecf29b86c7ce92405969a175c1c /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | |
| parent | e9ad0ec6126410ec4a90760fe732ba2f491892d5 (diff) | |
| parent | 9e71031e233972383439c8846a6cadb93d04db11 (diff) | |
Merge pull request #5350 from lioncash/frame
Frame: Normalize member names
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp index f271c8a979..78199eb6e3 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp @@ -83,8 +83,8 @@ void CCodeWindow::Load() ini.GetOrCreateSection("ShowOnStart")->Get(SettingName[i], &bShowOnStart[i], false); // Get notebook affiliation - std::string section = "P - " + ((Parent->ActivePerspective < Parent->Perspectives.size()) ? - Parent->Perspectives[Parent->ActivePerspective].Name : + std::string section = "P - " + ((Parent->m_active_perspective < Parent->m_perspectives.size()) ? + Parent->m_perspectives[Parent->m_active_perspective].name : "Perspective 1"); for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++) @@ -92,7 +92,7 @@ void CCodeWindow::Load() // Get floating setting for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++) - ini.GetOrCreateSection("Float")->Get(SettingName[i], &Parent->bFloatWindow[i], false); + ini.GetOrCreateSection("Float")->Get(SettingName[i], &Parent->m_float_window[i], false); } void CCodeWindow::Save() @@ -114,7 +114,7 @@ void CCodeWindow::Save() ->Set(SettingName[i - IDM_LOG_WINDOW], GetParentMenuBar()->IsChecked(i)); // Save notebook affiliations - std::string section = "P - " + Parent->Perspectives[Parent->ActivePerspective].Name; + std::string section = "P - " + Parent->m_perspectives[Parent->m_active_perspective].name; for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++) ini.GetOrCreateSection(section)->Set(SettingName[i], iNbAffiliation[i]); @@ -536,7 +536,7 @@ void CCodeWindow::TogglePanel(int id, bool show) panel = CreateSiblingPanel(id); } Parent->DoAddPage(panel, iNbAffiliation[id - IDM_DEBUG_WINDOW_LIST_START], - Parent->bFloatWindow[id - IDM_DEBUG_WINDOW_LIST_START]); + Parent->m_float_window[id - IDM_DEBUG_WINDOW_LIST_START]); } else if (panel) // Close { |
