EvtMainFrame: implement stagingButtonEvent().

This commit is contained in:
Guillaume Jacquemin 2020-01-16 00:04:51 +01:00
parent 27a57494dc
commit 678ba8fd23
2 changed files with 5 additions and 0 deletions

View file

@ -191,6 +191,10 @@ void EvtMainFrame::openSaveDirEvent(wxCommandEvent&) {
wxExecute("explorer.exe " + Utility::Directory::toNativeSeparators(_manager.saveDirectory())); wxExecute("explorer.exe " + Utility::Directory::toNativeSeparators(_manager.saveDirectory()));
} }
void EvtMainFrame::stagingButtonEvent(wxCommandEvent&) {
wxExecute("explorer.exe " + Utility::Directory::toNativeSeparators(_manager.stagingAreaDirectory()));
}
void EvtMainFrame::installedSelectionEvent(wxListEvent&) { void EvtMainFrame::installedSelectionEvent(wxListEvent&) {
updateCommandsState(); updateCommandsState();
} }

View file

@ -38,6 +38,7 @@ class EvtMainFrame: public MainFrame {
void deleteEvent(wxCommandEvent&); void deleteEvent(wxCommandEvent&);
void backupEvent(wxCommandEvent&); void backupEvent(wxCommandEvent&);
void openSaveDirEvent(wxCommandEvent&); void openSaveDirEvent(wxCommandEvent&);
void stagingButtonEvent(wxCommandEvent&);
void installedSelectionEvent(wxListEvent&); void installedSelectionEvent(wxListEvent&);
void listColumnDragEvent(wxListEvent&); void listColumnDragEvent(wxListEvent&);
void fileUpdateEvent(wxFileSystemWatcherEvent& event); void fileUpdateEvent(wxFileSystemWatcherEvent& event);