fix suggested button appearance
This commit is contained in:
parent
c24bf4d393
commit
c7bb920664
@ -24,6 +24,9 @@
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
<style>
|
||||
<class name="suggested-action"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
|
||||
@ -41,6 +41,7 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
Buttons.Add(new Button(StockType.Cancel));
|
||||
|
||||
// Buttons[0].ResponseValue = (int)DialogResult.OK;
|
||||
DefaultButton = Buttons[0];
|
||||
Buttons[1].ResponseValue = (int)DialogResult.Cancel;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user