mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 09:04:02 +00:00
Add "apply" button to options window
This commit is contained in:
parent
fcbb364085
commit
1cf82697ef
@ -164,6 +164,7 @@
|
||||
<boxfiller />
|
||||
<hbox homogeneous="true">
|
||||
<button text="&OK" closewindow="true" id="button_ok" magnet="true" width="60" />
|
||||
<button text="&Apply" id="button_apply" width="60" />
|
||||
<button text="&Cancel" closewindow="true" />
|
||||
</hbox>
|
||||
</hbox>
|
||||
|
@ -164,6 +164,9 @@ public:
|
||||
selectTheme()->Click.connect(base::Bind<void>(&OptionsWindow::onSelectTheme, this));
|
||||
openThemeFolder()->Click.connect(base::Bind<void>(&OptionsWindow::onOpenThemeFolder, this));
|
||||
|
||||
// Apply button
|
||||
buttonApply()->Click.connect(base::Bind<void>(&OptionsWindow::saveConfig, this));
|
||||
|
||||
onChangeGridScope();
|
||||
sectionListbox()->selectIndex(m_curSection);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user