mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Add option to download missing stylesheets on startup
This commit is contained in:
@@ -856,6 +856,12 @@ void SetWindow::onMenuOpen(wxMenuEvent& ev) {
|
||||
void SetWindow::onIdle(wxIdleEvent& ev) {
|
||||
// Stuff that must be done in the main thread
|
||||
downloadable_installers.show_update_dialog(this);
|
||||
}
|
||||
|
||||
void SetWindow::onPackageListChange(wxCommandEvent&) {
|
||||
FOR_EACH(p, panels) {
|
||||
p->onPackageListChange();
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : Event table
|
||||
@@ -917,4 +923,5 @@ BEGIN_EVENT_TABLE(SetWindow, wxFrame)
|
||||
EVT_CARD_SELECT (wxID_ANY, SetWindow::onCardSelect)
|
||||
EVT_CARD_ACTIVATE (wxID_ANY, SetWindow::onCardActivate)
|
||||
EVT_SIZE_CHANGE (wxID_ANY, SetWindow::onSizeChange)
|
||||
EVT_COMMAND (wxID_ANY, EVENT_PACKAGE_LIST_CHANGED, SetWindow::onPackageListChange)
|
||||
END_EVENT_TABLE ()
|
||||
|
||||
Reference in New Issue
Block a user