mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-27 06:35:16 +00:00
Merge branch 'applyButton' of https://github.com/TheKK/aseprite into apply-button
This commit is contained in:
commit
e353cdae4c
@ -183,6 +183,7 @@
|
|||||||
<boxfiller />
|
<boxfiller />
|
||||||
<hbox homogeneous="true">
|
<hbox homogeneous="true">
|
||||||
<button text="&OK" closewindow="true" id="button_ok" magnet="true" width="60" />
|
<button text="&OK" closewindow="true" id="button_ok" magnet="true" width="60" />
|
||||||
|
<button text="&Apply" id="button_apply" />
|
||||||
<button text="&Cancel" closewindow="true" />
|
<button text="&Cancel" closewindow="true" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
@ -190,6 +190,9 @@ public:
|
|||||||
selectTheme()->Click.connect(base::Bind<void>(&OptionsWindow::onSelectTheme, this));
|
selectTheme()->Click.connect(base::Bind<void>(&OptionsWindow::onSelectTheme, this));
|
||||||
openThemeFolder()->Click.connect(base::Bind<void>(&OptionsWindow::onOpenThemeFolder, this));
|
openThemeFolder()->Click.connect(base::Bind<void>(&OptionsWindow::onOpenThemeFolder, this));
|
||||||
|
|
||||||
|
// Apply button
|
||||||
|
buttonApply()->Click.connect(base::Bind<void>(&OptionsWindow::saveConfig, this));
|
||||||
|
|
||||||
onChangeGridScope();
|
onChangeGridScope();
|
||||||
sectionListbox()->selectIndex(m_curSection);
|
sectionListbox()->selectIndex(m_curSection);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user