mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
Merge pull request #573 from Aslaville/UI
fix broken commit (2267c84d6a
)
This commit is contained in:
commit
e6a660a200
@ -139,10 +139,10 @@ VFSManagerDialog::VFSManagerDialog(wxWindow* parent)
|
||||
|
||||
m_list->Bind(wxEVT_LIST_ITEM_ACTIVATED, &VFSManagerDialog::OnEntryConfig, this);
|
||||
m_list->Bind(wxEVT_RIGHT_DOWN, &VFSManagerDialog::OnRightClick, this);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnAdd, this, id_add);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnRemove, this, id_remove);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnEntryConfig, this, id_config);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &VFSManagerDialog::OnClose, this, wxID_OK);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnAdd, this, id_add);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnRemove, this, id_remove);
|
||||
Bind(wxEVT_MENU, &VFSManagerDialog::OnEntryConfig, this, id_config);
|
||||
Bind(wxEVT_BUTTON, &VFSManagerDialog::OnOK, this, wxID_OK);
|
||||
|
||||
LoadEntries();
|
||||
UpdateList();
|
||||
@ -214,7 +214,7 @@ void VFSManagerDialog::OnRemove(wxCommandEvent& event)
|
||||
UpdateList();
|
||||
}
|
||||
|
||||
void VFSManagerDialog::OnClose(wxCloseEvent& event)
|
||||
void VFSManagerDialog::OnOK(wxCommandEvent& event)
|
||||
{
|
||||
SaveEntries();
|
||||
event.Skip();
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
void OnAdd(wxCommandEvent& event);
|
||||
void OnRemove(wxCommandEvent& event);
|
||||
|
||||
void OnClose(wxCloseEvent& event);
|
||||
void OnOK(wxCommandEvent& event);
|
||||
void LoadEntries();
|
||||
void SaveEntries();
|
||||
};
|
||||
};
|
||||
|
@ -406,7 +406,7 @@ VHDDManagerDialog::VHDDManagerDialog(wxWindow* parent)
|
||||
Bind(wxEVT_MENU, &VHDDManagerDialog::OnOpen, this, id_open);
|
||||
Bind(wxEVT_MENU, &VHDDManagerDialog::OnRemove, this, id_remove);
|
||||
Bind(wxEVT_MENU, &VHDDManagerDialog::OnCreateHDD, this, id_create_hdd);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &VHDDManagerDialog::OnClose, this, wxID_OK);
|
||||
Bind(wxEVT_BUTTON, &VHDDManagerDialog::OnOk, this, wxID_OK);
|
||||
LoadPaths();
|
||||
UpdateList();
|
||||
}
|
||||
@ -521,7 +521,7 @@ void VHDDManagerDialog::OnCreateHDD(wxCommandEvent& event)
|
||||
}
|
||||
}
|
||||
|
||||
void VHDDManagerDialog::OnClose(wxCloseEvent& event)
|
||||
void VHDDManagerDialog::OnOk(wxCommandEvent& event)
|
||||
{
|
||||
SavePaths();
|
||||
event.Skip();
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
void OnRemove(wxCommandEvent& event);
|
||||
void OnCreateHDD(wxCommandEvent& event);
|
||||
|
||||
void OnClose(wxCloseEvent& event);
|
||||
void OnOk(wxCommandEvent& event);
|
||||
void LoadPaths();
|
||||
void SavePaths();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user